Package org.hibernate.persister.internal
Class ImmutableAttributeMappingList
- java.lang.Object
-
- org.hibernate.persister.internal.ImmutableAttributeMappingList
-
- All Implemented Interfaces:
Iterable<AttributeMapping>
,AttributeMappingsList
public final class ImmutableAttributeMappingList extends Object implements AttributeMappingsList
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImmutableAttributeMappingList.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forEach(Consumer<? super AttributeMapping> attributeMappingConsumer)
AttributeMapping
get(int i)
void
indexedForEach(IndexedConsumer<? super AttributeMapping> consumer)
Iterator<AttributeMapping>
iterator()
int
size()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
spliterator
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceAttributeMappingsList
-
get
public AttributeMapping get(int i)
- Specified by:
get
in interfaceAttributeMappingsList
-
iterator
public Iterator<AttributeMapping> iterator()
- Specified by:
iterator
in interfaceIterable<AttributeMapping>
-
forEach
public void forEach(Consumer<? super AttributeMapping> attributeMappingConsumer)
- Specified by:
forEach
in interfaceAttributeMappingsList
- Specified by:
forEach
in interfaceIterable<AttributeMapping>
-
indexedForEach
public void indexedForEach(IndexedConsumer<? super AttributeMapping> consumer)
- Specified by:
indexedForEach
in interfaceAttributeMappingsList
-
-