Class StandardOrderedMapSemantics<K,V>
- java.lang.Object
-
- org.hibernate.collection.spi.AbstractMapSemantics<LinkedHashMap<K,V>,K,V>
-
- org.hibernate.collection.internal.StandardOrderedMapSemantics<K,V>
-
- All Implemented Interfaces:
CollectionSemantics<LinkedHashMap<K,V>,V>
,MapSemantics<LinkedHashMap<K,V>,K,V>
public class StandardOrderedMapSemantics<K,V> extends AbstractMapSemantics<LinkedHashMap<K,V>,K,V>
-
-
Field Summary
Fields Modifier and Type Field Description static StandardOrderedMapSemantics<?,?>
INSTANCE
Singleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassification
getCollectionClassification()
The classification handled by this semanticIterator<V>
getElementIterator(LinkedHashMap<K,V> rawCollection)
Obtain an iterator over the collection elementsLinkedHashMap<K,V>
instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Create a raw (unwrapped) version of the collectionPersistentCollection<V>
instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Create a wrapper for the collectionPersistentCollection<V>
wrap(LinkedHashMap<K,V> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Wrap a raw collection in wrapper-
Methods inherited from class org.hibernate.collection.spi.AbstractMapSemantics
createInitializerProducer, getCollectionJavaType, getKeyIterator, visitElements, visitEntries, visitKeys
-
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 StandardOrderedMapSemantics<?,?> INSTANCE
Singleton access
-
-
Method Detail
-
getCollectionClassification
public CollectionClassification getCollectionClassification()
Description copied from interface:CollectionSemantics
The classification handled by this semantic
-
instantiateRaw
public LinkedHashMap<K,V> instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Description copied from interface:CollectionSemantics
Create a raw (unwrapped) version of the collection
-
instantiateWrapper
public PersistentCollection<V> instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Create a wrapper for the collection
-
wrap
public PersistentCollection<V> wrap(LinkedHashMap<K,V> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Wrap a raw collection in wrapper
-
getElementIterator
public Iterator<V> getElementIterator(LinkedHashMap<K,V> rawCollection)
Description copied from interface:CollectionSemantics
Obtain an iterator over the collection elements- Specified by:
getElementIterator
in interfaceCollectionSemantics<K,V>
- Overrides:
getElementIterator
in classAbstractMapSemantics<LinkedHashMap<K,V>,K,V>
-
-