public class PersistentSortedSet extends PersistentSet implements java.util.SortedSet
TreeSet,
Serialized FormAbstractPersistentCollection.AbstractValueDelayedOperation, AbstractPersistentCollection.DelayedOperation, AbstractPersistentCollection.IteratorProxy, AbstractPersistentCollection.LazyInitializationWork<T>, AbstractPersistentCollection.ListIteratorProxy, AbstractPersistentCollection.ListProxy, AbstractPersistentCollection.SetProxy, AbstractPersistentCollection.ValueDelayedOperation| Modifier and Type | Field and Description |
|---|---|
protected java.util.Comparator |
comparator |
set, tempListUNKNOWN| Constructor and Description |
|---|
PersistentSortedSet()
Constructs a PersistentSortedSet.
|
PersistentSortedSet(SessionImplementor session)
Constructs a PersistentSortedSet
|
PersistentSortedSet(SessionImplementor session,
java.util.SortedSet set)
Constructs a PersistentSortedSet
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator |
comparator() |
java.lang.Object |
first() |
java.util.SortedSet |
headSet(java.lang.Object toElement) |
java.lang.Object |
last() |
void |
setComparator(java.util.Comparator comparator) |
protected java.io.Serializable |
snapshot(BasicCollectionPersister persister,
EntityMode entityMode) |
java.util.SortedSet |
subSet(java.lang.Object fromElement,
java.lang.Object toElement) |
java.util.SortedSet |
tailSet(java.lang.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, isConnectedToSession, isDirectlyAccessible, isDirty, isInitialized, isInverseCollection, isInverseCollectionNoOrphanDelete, isInverseOneToManyOrNoOrphanDelete, isOperationQueueEnabled, isPutQueueEnabled, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, prepareForPossibleLoadingOutsideTransaction, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, replaceQueuedOperationValues, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic PersistentSortedSet()
public PersistentSortedSet(SessionImplementor session)
session - The sessionpublic PersistentSortedSet(SessionImplementor session, java.util.SortedSet set)
session - The sessionset - The underlying set dataprotected java.io.Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateExceptionpublic void setComparator(java.util.Comparator comparator)
public java.util.Comparator comparator()
comparator in interface java.util.SortedSetpublic java.util.SortedSet subSet(java.lang.Object fromElement,
java.lang.Object toElement)
subSet in interface java.util.SortedSetpublic java.util.SortedSet headSet(java.lang.Object toElement)
headSet in interface java.util.SortedSetpublic java.util.SortedSet tailSet(java.lang.Object fromElement)
tailSet in interface java.util.SortedSetpublic java.lang.Object first()
first in interface java.util.SortedSetpublic java.lang.Object last()
last in interface java.util.SortedSetCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.