public class PersistentSortedSet extends PersistentSet implements SortedSet
TreeSet,
Serialized FormAbstractPersistentCollection.DelayedOperation, AbstractPersistentCollection.IteratorProxy, AbstractPersistentCollection.ListIteratorProxy, AbstractPersistentCollection.ListProxy, AbstractPersistentCollection.SetProxy| Modifier and Type | Field and Description |
|---|---|
protected Comparator |
comparator |
set, tempListUNKNOWN| Constructor and Description |
|---|
PersistentSortedSet() |
PersistentSortedSet(SessionImplementor session) |
PersistentSortedSet(SessionImplementor session,
SortedSet set) |
| Modifier and Type | Method and Description |
|---|---|
Comparator |
comparator() |
Object |
first() |
SortedSet |
headSet(Object toElement) |
Object |
last() |
void |
setComparator(Comparator comparator) |
protected Serializable |
snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
SortedSet |
subSet(Object fromElement,
Object toElement) |
SortedSet |
tailSet(Object fromElement) |
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, toStringafterInitialize, afterRowInsert, clearDirty, dirty, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, getValue, hasQueuedOperations, identityRemove, 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, writeprotected Comparator comparator
public PersistentSortedSet(SessionImplementor session)
public PersistentSortedSet(SessionImplementor session, SortedSet set)
public PersistentSortedSet()
protected Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateExceptionpublic void setComparator(Comparator comparator)
public Comparator comparator()
comparator in interface SortedSetcomparator()public SortedSet subSet(Object fromElement, Object toElement)
subSet in interface SortedSetsubSet(Object,Object)public SortedSet headSet(Object toElement)
headSet in interface SortedSetheadSet(Object)public SortedSet tailSet(Object fromElement)
tailSet in interface SortedSettailSet(Object)Copyright © 2012 JBoss by Red Hat. All Rights Reserved.