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()
Constructs a PersistentSortedSet.
|
PersistentSortedSet(SessionImplementor session)
Constructs a PersistentSortedSet
|
PersistentSortedSet(SessionImplementor 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, initialize, isClearQueueEnabled, isDirectlyAccessible, isDirty, isOperationQueueEnabled, isPutQueueEnabled, isUnreferenced, needsRecreate, performQueuedOperations, postAction, preInsert, prepareForPossibleLoadingOutsideTransaction, queuedAdditionIterator, queueOperation, read, readElementByIndex, readElementExistence, readIndexExistence, readSize, setCurrentSession, setDirectlyAccessible, setInitialized, setOwner, setSnapshot, unsetSession, wasInitialized, write
protected Comparator comparator
public PersistentSortedSet()
public PersistentSortedSet(SessionImplementor session)
session
- The sessionpublic PersistentSortedSet(SessionImplementor session, SortedSet set)
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 © 2001-2015 Red Hat, Inc. All Rights Reserved.