ImmutableSortedSet#descendingSet().
| Modifier and Type | Field and Description |
|---|---|
| private final ImmutableSortedSet |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public E | ceiling(E
the value to match element)Overrides com. Implements java. null if there is no such element.
|
| public boolean | contains(Object
element whose presence in this set is to be tested object)Implements abstract com. Implements java. true if this set contains the specified element.
|
| pack-priv ImmutableSortedSet | createDescendingSet()
Implements abstract com. |
| public UnmodifiableIterator | descendingIterator()
Implements abstract com. Implements java. |
| public ImmutableSortedSet | descendingSet()
Overrides com. Implements java. |
| public E | floor(E
the value to match element)Overrides com. Implements java. null if there is no such element.
|
| pack-priv ImmutableSortedSet | headSetImpl(E toElement, boolean inclusive)
Implements abstract com. |
| public E | higher(E
the value to match element)Overrides com. Implements java. null if there is no such element.
|
| pack-priv int | indexOf(Object target)
Implements abstract com. |
| pack-priv boolean | isPartialView()
Implements abstract com. true if this immutable collection's implementation contains references to
user-created objects that aren't accessible via this collection's methods.
|
| public UnmodifiableIterator | iterator()
Implements abstract com. Implements java. |
| public E | lower(E
the value to match element)Overrides com. Implements java. null if there is no such element.
|
| public int | size()
Implements abstract java. Implements java. |
| pack-priv ImmutableSortedSet | subSetImpl(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
Implements abstract com. |
| pack-priv ImmutableSortedSet | tailSetImpl(E fromElement, boolean inclusive)
Implements abstract com. |
| forward | back to summary |
|---|---|
| private final ImmutableSortedSet<E> forward | |
| DescendingImmutableSortedSet | back to summary |
|---|---|
| pack-priv DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) | |
| ceiling | back to summary |
|---|---|
| public E ceiling(E element) Overrides com. Implements java. Doc from java. Returns the least element in this set greater than or equal to
the given element, or
| |
| contains | back to summary |
|---|---|
| public boolean contains(Object object) Implements abstract com. Implements java. Doc from java. Returns | |
| createDescendingSet | back to summary |
|---|---|
| pack-priv ImmutableSortedSet Implements abstract com.
| |
| descendingIterator | back to summary |
|---|---|
| public UnmodifiableIterator Implements abstract com. Implements java. Doc from java. Returns an iterator over the elements in this set, in descending order.
Equivalent in effect to
| |
| descendingSet | back to summary |
|---|---|
| public ImmutableSortedSet Overrides com. Implements java. Doc from java. Returns a reverse order view of the elements contained in this set.
The descending set is backed by this set, so changes to the set are
reflected in the descending set, and vice-versa. If either set is
modified while an iteration over either set is in progress (except
through the iterator's own The returned set has an ordering equivalent to
| |
| floor | back to summary |
|---|---|
| public E floor(E element) Overrides com. Implements java. Doc from java. Returns the greatest element in this set less than or equal to
the given element, or
| |
| headSetImpl | back to summary |
|---|---|
| pack-priv ImmutableSortedSet Implements abstract com.
| |
| higher | back to summary |
|---|---|
| public E higher(E element) Overrides com. Implements java. Doc from java. Returns the least element in this set strictly greater than the
given element, or
| |
| indexOf | back to summary |
|---|---|
| pack-priv int indexOf(Object target) Implements abstract com. Doc from com. Returns the position of an element within the set, or -1 if not present.
| |
| isPartialView | back to summary |
|---|---|
| pack-priv boolean isPartialView() Implements abstract com. Doc from com. Returns
| |
| iterator | back to summary |
|---|---|
| public UnmodifiableIterator Implements abstract com. Implements java. Doc from java. Returns an iterator over the elements in this set, in ascending order.
| |
| lower | back to summary |
|---|---|
| public E lower(E element) Overrides com. Implements java. Doc from java. Returns the greatest element in this set strictly less than the
given element, or
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |
| subSetImpl | back to summary |
|---|---|
| pack-priv ImmutableSortedSet Implements abstract com.
| |
| tailSetImpl | back to summary |
|---|---|
| pack-priv ImmutableSortedSet Implements abstract com.
| |