Package org.hibernate.collection.spi
Class AbstractSetSemantics<SE extends Set<E>,E>
java.lang.Object
org.hibernate.collection.spi.AbstractSetSemantics<SE,E>
- All Implemented Interfaces:
CollectionSemantics<SE,E>
- Direct Known Subclasses:
StandardOrderedSetSemantics,StandardSetSemantics,StandardSortedSetSemantics
public abstract class AbstractSetSemantics<SE extends Set<E>,E>
extends Object
implements CollectionSemantics<SE,E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInitializerProducer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParent fetchParent, boolean selected, String resultVariable, Fetch indexFetch, Fetch elementFetch, DomainResultCreationState creationState) Create a producer forCollectionInitializerinstances for the given collection semanticsThe collection's Java typegetElementIterator(SE rawCollection) Obtain an iterator over the collection elementsvoidvisitElements(SE rawCollection, Consumer<? super E> action) Visit the elements of the collectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.collection.spi.CollectionSemantics
createInitializerProducer, getCollectionClassification, instantiateRaw, instantiateWrapper, wrap
-
Constructor Details
-
AbstractSetSemantics
public AbstractSetSemantics()
-
-
Method Details
-
getCollectionJavaType
Description copied from interface:CollectionSemanticsThe collection's Java type- Specified by:
getCollectionJavaTypein interfaceCollectionSemantics<SE extends Set<E>,E>
-
getElementIterator
Description copied from interface:CollectionSemanticsObtain an iterator over the collection elements- Specified by:
getElementIteratorin interfaceCollectionSemantics<SE extends Set<E>,E>
-
visitElements
Description copied from interface:CollectionSemanticsVisit the elements of the collection- Specified by:
visitElementsin interfaceCollectionSemantics<SE extends Set<E>,E>
-