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>,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, toStringMethods inherited from class com.google.common.collect.ForwardingNavigableSet
standardCeiling, standardFirst, standardFloor, standardHeadSet, standardHigher, standardLast, standardLower, standardPollFirst, standardPollLast, standardSubSet, standardSubSet, standardTailSetMethods inherited from class com.google.common.collect.ForwardingSortedSet
standardContains, standardRemoveMethods inherited from class com.google.common.collect.ForwardingSet
equals, hashCode, standardEquals, standardHashCode, standardRemoveAllMethods 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, standardToStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, sizeMethods inherited from interface java.util.SortedSet
spliterator
-
Constructor Details
-
StandardDescendingSet
public StandardDescendingSet()Constructor for use by subclasses.
-