Class StandardSortedSetSemantics<E>
- java.lang.Object
-
- org.hibernate.collection.spi.AbstractSetSemantics<SortedSet<E>,E>
-
- org.hibernate.collection.internal.StandardSortedSetSemantics<E>
-
- All Implemented Interfaces:
CollectionSemantics<SortedSet<E>,E>
public class StandardSortedSetSemantics<E> extends AbstractSetSemantics<SortedSet<E>,E>
-
-
Field Summary
Fields Modifier and Type Field Description static StandardSortedSetSemantics<?>
INSTANCE
Singleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassification
getCollectionClassification()
The classification handled by this semanticClass<SortedSet>
getCollectionJavaType()
The collection's Java typeIterator<E>
getElementIterator(SortedSet<E> rawCollection)
Obtain an iterator over the collection elementsSortedSet<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(SortedSet<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Wrap a raw collection in wrapper-
Methods inherited from class org.hibernate.collection.spi.AbstractSetSemantics
createInitializerProducer, 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 StandardSortedSetSemantics<?> INSTANCE
Singleton access
-
-
Method Detail
-
getCollectionClassification
public CollectionClassification getCollectionClassification()
Description copied from interface:CollectionSemantics
The classification handled by this semantic
-
getCollectionJavaType
public Class<SortedSet> getCollectionJavaType()
Description copied from interface:CollectionSemantics
The collection's Java type- Specified by:
getCollectionJavaType
in interfaceCollectionSemantics<SortedSet<E>,E>
- Overrides:
getCollectionJavaType
in classAbstractSetSemantics<SortedSet<E>,E>
-
instantiateRaw
public SortedSet<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(SortedSet<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Wrap a raw collection in wrapper
-
getElementIterator
public Iterator<E> getElementIterator(SortedSet<E> rawCollection)
Description copied from interface:CollectionSemantics
Obtain an iterator over the collection elements- Specified by:
getElementIterator
in interfaceCollectionSemantics<SortedSet<E>,E>
- Overrides:
getElementIterator
in classAbstractSetSemantics<SortedSet<E>,E>
-
-