public class PersistentSortedSet extends PersistentSet implements SortedSet
TreeSet
,
Serialized FormAbstractPersistentCollection.DelayedOperation, AbstractPersistentCollection.IteratorProxy, AbstractPersistentCollection.LazyInitializationWork<T>, AbstractPersistentCollection.ListIteratorProxy, AbstractPersistentCollection.ListProxy, AbstractPersistentCollection.SetProxy
Modifier and Type | Field and Description |
---|---|
protected Comparator |
comparator |
set, tempList
UNKNOWN
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, toString
afterInitialize, 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, prepareForPossibleSpecialSpecjInitialization, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, write
protected Comparator comparator
public PersistentSortedSet(SessionImplementor session)
public PersistentSortedSet(SessionImplementor session, SortedSet set)
public PersistentSortedSet()
protected Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateException
public void setComparator(Comparator comparator)
public Comparator comparator()
comparator
in interface SortedSet
comparator()
public SortedSet subSet(Object fromElement, Object toElement)
subSet
in interface SortedSet
subSet(Object,Object)
public SortedSet headSet(Object toElement)
headSet
in interface SortedSet
headSet(Object)
public SortedSet tailSet(Object fromElement)
tailSet
in interface SortedSet
tailSet(Object)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.