Class 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>

    @Beta
    protected class ForwardingNavigableSet.StandardDescendingSet
    extends Sets.DescendingSet<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
    • Constructor Detail

      • StandardDescendingSet

        public StandardDescendingSet()
        Constructor for use by subclasses.