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:
Iterable<E>
,Collection<E>
,NavigableSet<E>
,SequencedCollection<E>
,SequencedSet<E>
,Set<E>
,SortedSet<E>
- Enclosing class:
ForwardingNavigableSet<E>
A sensible implementation of
NavigableSet.descendingSet()
in terms of the other methods
of NavigableSet
, notably including NavigableSet.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 -
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
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.NavigableSet
removeFirst, removeLast, reversed
-
Constructor Details
-
StandardDescendingSet
public StandardDescendingSet()Constructor for use by subclasses.
-