org.hibernate.collection
Class PersistentSortedSet
java.lang.Object
   org.hibernate.collection.AbstractPersistentCollection
org.hibernate.collection.AbstractPersistentCollection
       org.hibernate.collection.PersistentSet
org.hibernate.collection.PersistentSet
           org.hibernate.collection.PersistentSortedSet
org.hibernate.collection.PersistentSortedSet
- All Implemented Interfaces: 
- Serializable, Iterable, Collection, Set, SortedSet, PersistentCollection
- public class PersistentSortedSet 
- extends PersistentSet- implements SortedSet
A persistent wrapper for a java.util.SortedSet. Underlying
 collection is a TreeSet.
- Author:
- e
- See Also:
- TreeSet, 
Serialized Form
 
 
 
 
 
 
 
| Methods inherited from class org.hibernate.collection.PersistentSet | 
| add, addAll, beforeInitialize, beginRead, clear, contains, containsAll, disassemble, empty, endRead, entries, entryExists, equals, equalsSnapshot, getDeletes, getElement, getIndex, getOrphans, getSnapshot, getSnapshotElement, hashCode, initializeFromCache, isEmpty, isRowUpdatePossible, isSnapshotEmpty, isWrapper, iterator, needsInserting, needsUpdating, readFrom, remove, removeAll, retainAll, size, toArray, toArray, toString | 
 
| Methods inherited from class org.hibernate.collection.AbstractPersistentCollection | 
| afterInitialize, afterRowInsert, clearDirty, dirty, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, getValue, hasQueuedOperations, initialize, isClearQueueEnabled, isDirectlyAccessible, isDirty, isOperationQueueEnabled, isPutQueueEnabled, 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.Set | 
| add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray | 
 
comparator
protected Comparator comparator
PersistentSortedSet
public PersistentSortedSet(SessionImplementor session)
PersistentSortedSet
public PersistentSortedSet(SessionImplementor session,
                           SortedSet set)
PersistentSortedSet
public PersistentSortedSet()
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- SortedSet
 
- 
- See Also:
- comparator()
 
subSet
public SortedSet subSet(Object fromElement,
                        Object toElement)
- 
- Specified by:
- subSetin interface- SortedSet
 
- 
- See Also:
- subSet(Object,Object)
 
headSet
public SortedSet headSet(Object toElement)
- 
- Specified by:
- headSetin interface- SortedSet
 
- 
- See Also:
- headSet(Object)
 
tailSet
public SortedSet tailSet(Object fromElement)
- 
- Specified by:
- tailSetin interface- SortedSet
 
- 
- See Also:
- tailSet(Object)
 
first
public Object first()
- 
- Specified by:
- firstin interface- SortedSet
 
- 
- See Also:
- first()
 
last
public Object last()
- 
- Specified by:
- lastin interface- SortedSet
 
- 
- See Also:
- last()
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.