public class PersistentSortedMap extends PersistentMap implements SortedMap
TreeMap,
Serialized FormAbstractPersistentCollection.DelayedOperation, AbstractPersistentCollection.IteratorProxy, AbstractPersistentCollection.LazyInitializationWork<T>, AbstractPersistentCollection.ListIteratorProxy, AbstractPersistentCollection.ListProxy, AbstractPersistentCollection.SetProxy| Modifier and Type | Field and Description |
|---|---|
protected Comparator |
comparator |
mapUNKNOWN| Constructor and Description |
|---|
PersistentSortedMap()
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SessionImplementor session)
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SessionImplementor 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, valuesafterInitialize, afterRowInsert, beginRead, clearDirty, dirty, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, getValue, hasQueuedOperations, identityRemove, initialize, isClearQueueEnabled, isDirectlyAccessible, isDirty, isOperationQueueEnabled, isPutQueueEnabled, isRowUpdatePossible, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, prepareForPossibleLoadingOutsideTransaction, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, writeprotected Comparator comparator
public PersistentSortedMap()
public PersistentSortedMap(SessionImplementor session)
session - The sessionpublic PersistentSortedMap(SessionImplementor session, SortedMap map)
session - The sessionmap - The underlying map dataprotected Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateExceptionpublic void setComparator(Comparator comparator)
public Comparator comparator()
comparator in interface SortedMapCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.