Top Inners Fields Constructors Methods
org.hibernate.metamodel.mapping.internal

public final Class ImmutableAttributeMappingsMap

extends Object
implements AttributeMappingsMap
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.mapping.AttributeMappingsMap
Imports
java.util.HashMap, .Iterator, .LinkedHashMap, .Map, java.util.function.Consumer, org.hibernate.metamodel.mapping.AttributeMapping, .AttributeMappingsMap

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private class

Field Summary

Modifier and TypeField and Description
private final HashMap<String, Integer>
private final AttributeMapping[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public AttributeMapping
public int
public Iterable<AttributeMapping>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mapStoreback to summary
private final HashMap<String, Integer> mapStore
orderedValuesback to summary
private final AttributeMapping[] orderedValues

Constructor Detail

ImmutableAttributeMappingsMapback to summary
public ImmutableAttributeMappingsMap(final LinkedHashMap<String, AttributeMapping> sortedSource)

Method Detail

forEachValueback to summary
public void forEachValue(final Consumer<? super AttributeMapping> action)

Implements org.hibernate.metamodel.mapping.AttributeMappingsMap.forEachValue.

Annotations
@Override
getback to summary
public AttributeMapping get(final String name)

Implements org.hibernate.metamodel.mapping.AttributeMappingsMap.get.

Annotations
@Override
sizeback to summary
public int size()

Implements org.hibernate.metamodel.mapping.AttributeMappingsMap.size.

valueIteratorback to summary
public Iterable<AttributeMapping> valueIterator()

Implements org.hibernate.metamodel.mapping.AttributeMappingsMap.valueIterator.

Annotations
@Override
org.hibernate.metamodel.mapping.internal back to summary

private final Class ImmutableAttributeMappingsMap.AttributeMappingIterable

extends Object
implements Iterable<AttributeMapping>
Class Inheritance
  • java.lang.Object
  • org.hibernate.metamodel.mapping.internal.ImmutableAttributeMappingsMap.AttributeMappingIterable
All Implemented Interfaces
java.lang.Iterable

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Iterator<AttributeMapping>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AttributeMappingIterableback to summary
private AttributeMappingIterable()

Method Detail

iteratorback to summary
public Iterator<AttributeMapping> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<AttributeMapping>

an Iterator.

Annotations
@Override
org.hibernate.metamodel.mapping.internal back to summary

private final Class ImmutableAttributeMappingsMap.AttributeMappingIterator

extends Object
implements Iterator<AttributeMapping>
Class Inheritance
  • java.lang.Object
  • org.hibernate.metamodel.mapping.internal.ImmutableAttributeMappingsMap.AttributeMappingIterator
All Implemented Interfaces
java.util.Iterator

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
hasNext()

Implements java.util.Iterator.hasNext.

Returns true if the iteration has more elements.
public AttributeMapping
next()

Implements java.util.Iterator.next.

Returns the next element in the iteration.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

idxback to summary
private int idx

Constructor Detail

AttributeMappingIteratorback to summary
private AttributeMappingIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

Implements java.util.Iterator.hasNext.

Doc from java.util.Iterator.hasNext.

Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Returns:boolean

true if the iteration has more elements

Annotations
@Override
nextback to summary
public AttributeMapping next()

Implements java.util.Iterator.next.

Doc from java.util.Iterator.next.

Returns the next element in the iteration.

Returns:AttributeMapping

the next element in the iteration

Annotations
@Override