Package com.google.common.collect
Class ForwardingNavigableSet.StandardDescendingSet
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.collect.ForwardingCollection<E>
-
- com.google.common.collect.ForwardingSet<E>
-
- com.google.common.collect.ForwardingSortedSet<E>
-
- com.google.common.collect.ForwardingNavigableSet<E>
-
- com.google.common.collect.Sets.DescendingSet<E>
-
- com.google.common.collect.ForwardingNavigableSet.StandardDescendingSet
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.NavigableSet<E>
,java.util.Set<E>
,java.util.SortedSet<E>
- Enclosing class:
- ForwardingNavigableSet<E>
protected class ForwardingNavigableSet.StandardDescendingSet extends Sets.DescendingSet<E>
A sensible implementation ofNavigableSet.descendingSet()
in terms of the other methods ofNavigableSet
, notably includingNavigableSet.descendingIterator()
.In many cases, you may wish to override
ForwardingNavigableSet.descendingSet()
to forward to this implementation or a subclass thereof.- Since:
- 12.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.collect.ForwardingNavigableSet
ForwardingNavigableSet.StandardDescendingSet
-
-
Constructor Summary
Constructors Constructor Description StandardDescendingSet()
Constructor for use by subclasses.
-
Method Summary
-
Methods inherited from class com.google.common.collect.Sets.DescendingSet
ceiling, comparator, delegate, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, iterator, last, lower, pollFirst, pollLast, subSet, subSet, tailSet, tailSet, toArray, toArray, toString
-
Methods inherited from class com.google.common.collect.ForwardingNavigableSet
standardCeiling, standardFirst, standardFloor, standardHeadSet, standardHigher, standardLast, standardLower, standardPollFirst, standardPollLast, standardSubSet, standardSubSet, standardTailSet
-
Methods inherited from class com.google.common.collect.ForwardingSortedSet
standardContains, standardRemove
-
Methods inherited from class com.google.common.collect.ForwardingSet
equals, hashCode, standardEquals, standardHashCode, standardRemoveAll
-
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContainsAll, standardIsEmpty, standardRetainAll, standardToArray, standardToArray, standardToString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-