public class PersistentSortedMap extends PersistentMap implements SortedMap
TreeMap
,
Serialized FormAbstractPersistentCollection.AbstractValueDelayedOperation, AbstractPersistentCollection.DelayedOperation, AbstractPersistentCollection.IteratorProxy, AbstractPersistentCollection.LazyInitializationWork<T>, AbstractPersistentCollection.ListIteratorProxy, AbstractPersistentCollection.ListProxy, AbstractPersistentCollection.SetProxy, AbstractPersistentCollection.ValueDelayedOperation
Modifier and Type | Field and Description |
---|---|
protected Comparator |
comparator |
map
elementRemoved, UNKNOWN
Constructor and Description |
---|
PersistentSortedMap()
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SessionImplementor session)
Deprecated.
PersistentSortedMap(SharedSessionContractImplementor) should be used instead. |
PersistentSortedMap(SessionImplementor session,
SortedMap map)
Deprecated.
PersistentSortedMap(SharedSessionContractImplementor, SortedMap) should be used instead. |
PersistentSortedMap(SharedSessionContractImplementor session)
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SharedSessionContractImplementor session,
SortedMap map)
Constructs a PersistentSortedMap.
|
Modifier and Type | Method and Description |
---|---|
Comparator |
comparator() |
Object |
firstKey() |
SortedMap |
headMap(Object toKey) |
Object |
lastKey() |
void |
setComparator(Comparator comparator) |
protected Serializable |
snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
SortedMap |
subMap(Object fromKey,
Object toKey) |
SortedMap |
tailMap(Object fromKey) |
beforeInitialize, clear, containsKey, containsValue, disassemble, empty, endRead, entries, entryExists, entrySet, equals, equalsSnapshot, get, getDeletes, getElement, getIndex, getOrphans, getSnapshot, getSnapshotElement, hashCode, initializeFromCache, isEmpty, isSnapshotEmpty, isWrapper, keySet, needsInserting, needsUpdating, put, putAll, readFrom, remove, size, toString, values
afterInitialize, afterRowInsert, beginRead, clearDirty, clearOperationQueue, dirty, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, getValue, hasQueuedOperations, identityRemove, identityRemove, initialize, isClearQueueEnabled, isConnectedToSession, isDirectlyAccessible, isDirty, isElementRemoved, isInitialized, isInverseCollection, isInverseCollectionNoOrphanDelete, isInverseOneToManyOrNoOrphanDelete, isOperationQueueEnabled, isPutQueueEnabled, isRowUpdatePossible, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, prepareForPossibleLoadingOutsideTransaction, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, replaceQueuedOperationValues, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
isDirectlyProvidedCollection
protected Comparator comparator
public PersistentSortedMap()
public PersistentSortedMap(SharedSessionContractImplementor session)
session
- The session@Deprecated public PersistentSortedMap(SessionImplementor session)
PersistentSortedMap(SharedSessionContractImplementor)
should be used instead.session
- The sessionpublic PersistentSortedMap(SharedSessionContractImplementor session, SortedMap map)
session
- The sessionmap
- The underlying map data@Deprecated public PersistentSortedMap(SessionImplementor session, SortedMap map)
PersistentSortedMap(SharedSessionContractImplementor, SortedMap)
should be used instead.session
- The sessionmap
- The underlying map dataprotected Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateException
public void setComparator(Comparator comparator)
public Comparator comparator()
comparator
in interface SortedMap
Copyright © 2019 JBoss by Red Hat. All rights reserved.