public class PersistentSortedMap extends PersistentMap implements java.util.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 java.util.Comparator |
comparator |
mapUNKNOWN| Constructor and Description |
|---|
PersistentSortedMap()
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SessionImplementor session)
Constructs a PersistentSortedMap.
|
PersistentSortedMap(SessionImplementor session,
java.util.SortedMap map)
Constructs a PersistentSortedMap.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator |
comparator() |
java.lang.Object |
firstKey() |
java.util.SortedMap |
headMap(java.lang.Object toKey) |
java.lang.Object |
lastKey() |
void |
setComparator(java.util.Comparator comparator) |
protected java.io.Serializable |
snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
java.util.SortedMap |
subMap(java.lang.Object fromKey,
java.lang.Object toKey) |
java.util.SortedMap |
tailMap(java.lang.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, isConnectedToSession, isDirectlyAccessible, isDirty, 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, writepublic PersistentSortedMap()
public PersistentSortedMap(SessionImplementor session)
session - The sessionpublic PersistentSortedMap(SessionImplementor session, java.util.SortedMap map)
session - The sessionmap - The underlying map dataprotected java.io.Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateExceptionpublic void setComparator(java.util.Comparator comparator)
public java.util.Comparator comparator()
comparator in interface java.util.SortedMappublic java.util.SortedMap subMap(java.lang.Object fromKey,
java.lang.Object toKey)
subMap in interface java.util.SortedMappublic java.util.SortedMap headMap(java.lang.Object toKey)
headMap in interface java.util.SortedMappublic java.util.SortedMap tailMap(java.lang.Object fromKey)
tailMap in interface java.util.SortedMappublic java.lang.Object firstKey()
firstKey in interface java.util.SortedMappublic java.lang.Object lastKey()
lastKey in interface java.util.SortedMapCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.