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<?>
INSTANCE
Singleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassification
getCollectionClassification()
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:CollectionSemantics
The classification handled by this semantic
-
instantiateRaw
public LinkedHashSet<E> instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Description copied from interface:CollectionSemantics
Create a raw (unwrapped) version of the collection
-
instantiateWrapper
public PersistentCollection<E> instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Create a wrapper for the collection
-
wrap
public PersistentCollection<E> wrap(LinkedHashSet<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Wrap a raw collection in wrapper
-
getElementIterator
public Iterator<E> getElementIterator(LinkedHashSet<E> rawCollection)
Description copied from interface:CollectionSemantics
Obtain an iterator over the collection elements- Specified by:
getElementIterator
in interfaceCollectionSemantics<LinkedHashSet<E>,E>
- Overrides:
getElementIterator
in classAbstractSetSemantics<LinkedHashSet<E>,E>
-
-