public class PersistentSortedSet extends PersistentSet implements 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 Comparator |
comparator |
set, tempList
elementRemoved, UNKNOWN
Constructor and Description |
---|
PersistentSortedSet()
Constructs a PersistentSortedSet.
|
PersistentSortedSet(SessionImplementor session)
Deprecated.
PersistentSortedSet(SharedSessionContractImplementor) should be used instead. |
PersistentSortedSet(SessionImplementor session,
SortedSet set)
Deprecated.
PersistentSortedSet(SharedSessionContractImplementor, SortedSet) should be used instead. |
PersistentSortedSet(SharedSessionContractImplementor session)
Constructs a PersistentSortedSet
|
PersistentSortedSet(SharedSessionContractImplementor session,
SortedSet set)
Constructs a PersistentSortedSet
|
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, identityRemove, initialize, isClearQueueEnabled, isConnectedToSession, isDirectlyAccessible, isDirty, isElementRemoved, 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, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
parallelStream, removeIf, stream
protected Comparator comparator
public PersistentSortedSet()
public PersistentSortedSet(SharedSessionContractImplementor session)
session
- The session@Deprecated public PersistentSortedSet(SessionImplementor session)
PersistentSortedSet(SharedSessionContractImplementor)
should be used instead.session
- The sessionpublic PersistentSortedSet(SharedSessionContractImplementor session, SortedSet set)
session
- The sessionset
- The underlying set data@Deprecated public PersistentSortedSet(SessionImplementor session, SortedSet set)
PersistentSortedSet(SharedSessionContractImplementor, SortedSet)
should be used instead.session
- The sessionset
- The underlying set dataprotected Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateException
public void setComparator(Comparator comparator)
public Comparator comparator()
comparator
in interface SortedSet
Copyright © 2018 JBoss by Red Hat. All rights reserved.