public class PersistentSortedMap extends PersistentMap implements SortedMap
TreeMap
,
Serialized FormAbstractPersistentCollection.DelayedOperation
Modifier and Type | Field and Description |
---|---|
protected Comparator |
comparator |
map
UNKNOWN
Constructor and Description |
---|
PersistentSortedMap() |
PersistentSortedMap(SessionImplementor session) |
PersistentSortedMap(SessionImplementor session,
SortedMap map) |
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, 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, dirty, endRead, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, getValue, hasQueuedOperations, initialize, isClearQueueEnabled, isDirectlyAccessible, isDirty, isOperationQueueEnabled, isPutQueueEnabled, isRowUpdatePossible, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, 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
protected Comparator comparator
public PersistentSortedMap(SessionImplementor session)
public PersistentSortedMap(SessionImplementor session, SortedMap map)
public PersistentSortedMap()
protected Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateException
public void setComparator(Comparator comparator)
public Comparator comparator()
comparator
in interface SortedMap
comparator()
public SortedMap subMap(Object fromKey, Object toKey)
subMap
in interface SortedMap
subMap(Object, Object)
public SortedMap headMap(Object toKey)
headMap
in interface SortedMap
headMap(Object)
public SortedMap tailMap(Object fromKey)
tailMap
in interface SortedMap
tailMap(Object)
public Object firstKey()
firstKey
in interface SortedMap
firstKey()
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved