org.hibernate.collection
public class PersistentSortedMap extends PersistentMap implements java.util.SortedMap
TreeMap
,
Serialized FormAbstractPersistentCollection.DelayedOperation
Modifier and Type | Field and Description |
---|---|
protected java.util.Comparator |
comparator |
map
UNKNOWN
Constructor and Description |
---|
PersistentSortedMap() |
PersistentSortedMap(SessionImplementor session) |
PersistentSortedMap(SessionImplementor session,
java.util.SortedMap map) |
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, 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
public PersistentSortedMap(SessionImplementor session)
public PersistentSortedMap(SessionImplementor session, java.util.SortedMap map)
public PersistentSortedMap()
protected java.io.Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateException
public void setComparator(java.util.Comparator comparator)
public java.util.Comparator comparator()
comparator
in interface java.util.SortedMap
comparator()
public java.util.SortedMap subMap(java.lang.Object fromKey, java.lang.Object toKey)
subMap
in interface java.util.SortedMap
subMap(Object, Object)
public java.util.SortedMap headMap(java.lang.Object toKey)
headMap
in interface java.util.SortedMap
headMap(Object)
public java.util.SortedMap tailMap(java.lang.Object fromKey)
tailMap
in interface java.util.SortedMap
tailMap(Object)
public java.lang.Object firstKey()
firstKey
in interface java.util.SortedMap
firstKey()
public java.lang.Object lastKey()
lastKey
in interface java.util.SortedMap
lastKey()
Copyright © 2014. All Rights Reserved.