java.util.TreeSet
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | PersistentSortedSet.SubSetProxy
wrapper for subSets to propagate write to its backing set |
| Modifier and Type | Field and Description |
|---|---|
| protected Comparator |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PersistentSortedSet(SharedSessionContractImplementor
The session session)Constructs a PersistentSortedSet |
| public | PersistentSortedSet(SessionImplementor
The session session)
Deprecated
Constructs a PersistentSortedSet
PersistentSortedSet(SharedSessionContractImplementor) should be used instead.
|
| public | PersistentSortedSet(SharedSessionContractImplementor
The session session, SortedSet<E> The underlying set data set)Constructs a PersistentSortedSet |
| public | PersistentSortedSet(SessionImplementor
The session session, SortedSet<E> The underlying set data set)
Deprecated
Constructs a PersistentSortedSet
PersistentSortedSet(SharedSessionContractImplementor, SortedSet) should be used instead.
|
| Modifier and Type | Method and Description |
|---|---|
| public Comparator | comparator()
Implements java. null if this set uses the natural ordering of its elements.
|
| public Object | first()
Implements java. |
| public SortedSet | headSet(Object
high endpoint (exclusive) of the returned set toElement)Implements java. toElement.
|
| public Object | last()
Implements java. |
| public void | |
| protected Serializable | |
| public SortedSet | subSet(Object
low endpoint (inclusive) of the returned set fromElement, Object high endpoint (exclusive) of the returned set toElement)Implements java. fromElement, inclusive, to toElement,
exclusive.
|
| public SortedSet | tailSet(Object
low endpoint (inclusive) of the returned set fromElement)Implements java. fromElement.
|
| comparator | back to summary |
|---|---|
| protected Comparator<T> comparator | |
| PersistentSortedSet | back to summary |
|---|---|
| public PersistentSortedSet() Constructs a PersistentSortedSet. This form needed for SOAP libraries, etc
| |
| PersistentSortedSet | back to summary |
|---|---|
| public PersistentSortedSet(SharedSessionContractImplementor session) Constructs a PersistentSortedSet
| |
| PersistentSortedSet | back to summary |
|---|---|
| public PersistentSortedSet(SessionImplementor session)
Deprecated
Constructs a PersistentSortedSet
| |
| PersistentSortedSet | back to summary |
|---|---|
| public PersistentSortedSet(SharedSessionContractImplementor session, SortedSet<E> set) Constructs a PersistentSortedSet
| |
| PersistentSortedSet | back to summary |
|---|---|
| public PersistentSortedSet(SessionImplementor session, SortedSet<E> set)
Deprecated
Constructs a PersistentSortedSet
| |
| comparator | back to summary |
|---|---|
| public Comparator Implements java. Doc from java. Returns the comparator used to order the elements in this set,
or
| |
| first | back to summary |
|---|---|
| public Object first() Implements java. Doc from java. Returns the first (lowest) element currently in this set.
| |
| headSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements are
strictly less than The returned set will throw an
| |
| last | back to summary |
|---|---|
| public Object last() Implements java. Doc from java. Returns the last (highest) element currently in this set.
| |
| setComparator | back to summary |
|---|---|
| public void setComparator(Comparator<T> comparator) | |
| snapshot | back to summary |
|---|---|
protected Serializable snapshot(BasicCollectionPersister persister, EntityMode entityMode) throws HibernateException
| |
| subSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements range
from The returned set will throw an
| |
| tailSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements are
greater than or equal to The returned set will throw an
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Comparator | comparator()
Implements java. null if this set uses the natural ordering of its elements.
|
| public Object | first()
Implements java. |
| public SortedSet | headSet(Object
high endpoint (exclusive) of the returned set toValue)Implements java. toElement.
|
| public Object | last()
Implements java. |
| public SortedSet | subSet(Object
low endpoint (inclusive) of the returned set fromValue, Object high endpoint (exclusive) of the returned set toValue)Implements java. fromElement, inclusive, to toElement,
exclusive.
|
| public SortedSet | tailSet(Object
low endpoint (inclusive) of the returned set fromValue)Implements java. fromElement.
|
| SubSetProxy | back to summary |
|---|---|
| pack-priv SubSetProxy(SortedSet<E> s) | |
| comparator | back to summary |
|---|---|
| public Comparator Implements java. Doc from java. Returns the comparator used to order the elements in this set,
or
| |
| first | back to summary |
|---|---|
| public Object first() Implements java. Doc from java. Returns the first (lowest) element currently in this set.
| |
| headSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements are
strictly less than The returned set will throw an
| |
| last | back to summary |
|---|---|
| public Object last() Implements java. Doc from java. Returns the last (highest) element currently in this set.
| |
| subSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements range
from The returned set will throw an
| |
| tailSet | back to summary |
|---|---|
| public SortedSet Implements java. Doc from java. Returns a view of the portion of this set whose elements are
greater than or equal to The returned set will throw an
| |