org.hibernate.collection
Class PersistentSortedSet
- Serializable, Set, SortedSet, PersistentCollection
public class PersistentSortedSet
implements SortedSet
A persistent wrapper for a java.util.SortedSet. Underlying
collection is a TreeSet.
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 |
afterInitialize , afterRowInsert , beginRead , clearDirty , dirty , empty , endRead , forceInitialization , getCachedSize , getIdentifier , getKey , getOrphans , getOrphans , getOwner , getQueuedOrphans , getRole , getSession , getSnapshot , getStoredSnapshot , getValue , hasQueuedOperations , initialize , isClearQueueEnabled , isDirectlyAccessible , isDirty , isOperationQueueEnabled , isPutQueueEnabled , isRowUpdatePossible , isUnreferenced , needsRecreate , performQueuedOperations , postAction , preInsert , queueOperation , queuedAdditionIterator , read , readElementByIndex , readElementExistence , readIndexExistence , readSize , setCurrentSession , setDirectlyAccessible , setInitialized , setOwner , setSnapshot , unsetSession , wasInitialized , write |
comparator
protected Comparator comparator
PersistentSortedSet
public PersistentSortedSet()
Empty constructor.
Note: this form is not ever ever ever used by Hibernate; it is, however,
needed for SOAP libraries and other such marshalling code.
PersistentSortedSet
public PersistentSortedSet(SessionImplementor session)
Constructor matching super. Instantiates a lazy set (the underlying
set is un-initialized).
session
- The session to which this set will belong.
comparator
public Comparator comparator()
first
public Object first()
headSet
public SortedSet headSet(Object toElement)
setComparator
public void setComparator(Comparator comparator)
subSet
public SortedSet subSet(Object fromElement,
Object toElement)
tailSet
public SortedSet tailSet(Object fromElement)