org.hibernate.collection
public class PersistentSortedSet extends PersistentSet implements java.util.SortedSet
TreeSet
,
Serialized FormAbstractPersistentCollection.DelayedOperation
Modifier and Type | Field and Description |
---|---|
protected java.util.Comparator |
comparator |
set, tempList
UNKNOWN
Constructor and Description |
---|
PersistentSortedSet() |
PersistentSortedSet(SessionImplementor session) |
PersistentSortedSet(SessionImplementor session,
java.util.SortedSet set) |
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, toString
afterInitialize, afterRowInsert, clearDirty, dirty, forceInitialization, getCachedSize, getIdentifier, getKey, getOrphans, getOwner, getQueuedOrphans, getRole, getSession, getSnapshot, getStoredSnapshot, getValue, hasQueuedOperations, 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, write
public PersistentSortedSet(SessionImplementor session)
public PersistentSortedSet(SessionImplementor session, java.util.SortedSet set)
public PersistentSortedSet()
protected java.io.Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
HibernateException
public void setComparator(java.util.Comparator comparator)
public java.util.Comparator comparator()
comparator
in interface java.util.SortedSet
comparator()
public java.util.SortedSet subSet(java.lang.Object fromElement, java.lang.Object toElement)
subSet
in interface java.util.SortedSet
subSet(Object,Object)
public java.util.SortedSet headSet(java.lang.Object toElement)
headSet
in interface java.util.SortedSet
headSet(Object)
public java.util.SortedSet tailSet(java.lang.Object fromElement)
tailSet
in interface java.util.SortedSet
tailSet(Object)
public java.lang.Object first()
first
in interface java.util.SortedSet
first()
public java.lang.Object last()
last
in interface java.util.SortedSet
last()
Copyright © 2014. All Rights Reserved.