Class StandardOrderedSetSemantics<E>
- java.lang.Object
-
- org.hibernate.collection.spi.AbstractSetSemantics<LinkedHashSet<E>,E>
-
- org.hibernate.collection.internal.StandardOrderedSetSemantics<E>
-
- All Implemented Interfaces:
CollectionSemantics<LinkedHashSet<E>,E>
public class StandardOrderedSetSemantics<E> extends AbstractSetSemantics<LinkedHashSet<E>,E>
-
-
Field Summary
Fields Modifier and Type Field Description static StandardOrderedSetSemantics<?>INSTANCESingleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassificationgetCollectionClassification()The classification handled by this semanticIterator<E>getElementIterator(LinkedHashSet<E> rawCollection)Obtain an iterator over the collection elementsLinkedHashSet<E>instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)Create a raw (unwrapped) version of the collectionPersistentCollection<E>instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)Create a wrapper for the collectionPersistentCollection<E>wrap(LinkedHashSet<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)Wrap a raw collection in wrapper-
Methods inherited from class org.hibernate.collection.spi.AbstractSetSemantics
createInitializerProducer, getCollectionJavaType, visitElements
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.collection.spi.CollectionSemantics
createInitializerProducer
-
-
-
-
Field Detail
-
INSTANCE
public static final StandardOrderedSetSemantics<?> INSTANCE
Singleton access
-
-
Method Detail
-
getCollectionClassification
public CollectionClassification getCollectionClassification()
Description copied from interface:CollectionSemanticsThe classification handled by this semantic
-
instantiateRaw
public LinkedHashSet<E> instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Description copied from interface:CollectionSemanticsCreate a raw (unwrapped) version of the collection
-
instantiateWrapper
public PersistentCollection<E> instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemanticsCreate a wrapper for the collection
-
wrap
public PersistentCollection<E> wrap(LinkedHashSet<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemanticsWrap a raw collection in wrapper
-
getElementIterator
public Iterator<E> getElementIterator(LinkedHashSet<E> rawCollection)
Description copied from interface:CollectionSemanticsObtain an iterator over the collection elements- Specified by:
getElementIteratorin interfaceCollectionSemantics<LinkedHashSet<E>,E>- Overrides:
getElementIteratorin classAbstractSetSemantics<LinkedHashSet<E>,E>
-
-