org.hibernate.collection.internal
Class PersistentSortedMap
java.lang.Object
   org.hibernate.collection.internal.AbstractPersistentCollection
org.hibernate.collection.internal.AbstractPersistentCollection
       org.hibernate.collection.internal.PersistentMap
org.hibernate.collection.internal.PersistentMap
           org.hibernate.collection.internal.PersistentSortedMap
org.hibernate.collection.internal.PersistentSortedMap
- All Implemented Interfaces: 
- Serializable, Map, SortedMap, PersistentCollection
- public class PersistentSortedMap 
- extends PersistentMap- implements SortedMap
A persistent wrapper for a java.util.SortedMap. Underlying
 collection is a TreeMap.
- See Also:
- TreeMap, 
Serialized Form
 
 
| Nested classes/interfaces inherited from interface java.util.Map | 
| Map.Entry<K,V> | 
 
 
 
 
 
 
| Methods inherited from class org.hibernate.collection.internal.PersistentMap | 
| 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 | 
 
| Methods inherited from class org.hibernate.collection.internal.AbstractPersistentCollection | 
| afterInitialize, afterRowInsert, beginRead, clearDirty, dirty, endRead, 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, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, write | 
 
 
 
| Methods inherited from interface java.util.Map | 
| clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size | 
 
comparator
protected Comparator comparator
PersistentSortedMap
public PersistentSortedMap(SessionImplementor session)
PersistentSortedMap
public PersistentSortedMap(SessionImplementor session,
                           SortedMap map)
PersistentSortedMap
public PersistentSortedMap()
snapshot
protected Serializable snapshot(BasicCollectionPersister persister,
                                EntityMode entityMode)
                         throws HibernateException
- 
 
- 
- Throws:
- HibernateException
 
setComparator
public void setComparator(Comparator comparator)
- 
 
- 
 
comparator
public Comparator comparator()
- 
- Specified by:
- comparatorin interface- SortedMap
 
- 
- See Also:
- comparator()
 
subMap
public SortedMap subMap(Object fromKey,
                        Object toKey)
- 
- Specified by:
- subMapin interface- SortedMap
 
- 
- See Also:
- subMap(Object, Object)
 
headMap
public SortedMap headMap(Object toKey)
- 
- Specified by:
- headMapin interface- SortedMap
 
- 
- See Also:
- headMap(Object)
 
tailMap
public SortedMap tailMap(Object fromKey)
- 
- Specified by:
- tailMapin interface- SortedMap
 
- 
- See Also:
- tailMap(Object)
 
firstKey
public Object firstKey()
- 
- Specified by:
- firstKeyin interface- SortedMap
 
- 
- See Also:
- firstKey()
 
lastKey
public Object lastKey()
- 
- Specified by:
- lastKeyin interface- SortedMap
 
- 
- See Also:
- lastKey()
 
Copyright © 2001-2012 Red Hat, Inc.  All Rights Reserved.