Class ForwardingNavigableSet.StandardDescendingSet

    • Method Detail

      • delegate

        protected java.util.NavigableSet<E> delegate()
        Description copied from class: ForwardingObject
        Returns the backing delegate instance that methods are forwarded to. Abstract subclasses generally override this method with an abstract method that has a more specific return type, such as ForwardingSet.delegate(). Concrete subclasses override this method to supply the instance being decorated.
        Specified by:
        delegate in class ForwardingNavigableSet<E extends @Nullable java.lang.Object>
      • descendingSet

        public java.util.NavigableSet<E> descendingSet()
        Specified by:
        descendingSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Overrides:
        descendingSet in class ForwardingNavigableSet<E extends @Nullable java.lang.Object>
      • subSet

        public java.util.NavigableSet<E> subSet​(E fromElement,
                                                boolean fromInclusive,
                                                E toElement,
                                                boolean toInclusive)
        Specified by:
        subSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Overrides:
        subSet in class ForwardingNavigableSet<E extends @Nullable java.lang.Object>
      • subSet

        public java.util.SortedSet<E> subSet​(E fromElement,
                                             E toElement)
        Specified by:
        subSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Specified by:
        subSet in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
        Overrides:
        subSet in class ForwardingSortedSet<E extends @Nullable java.lang.Object>
      • headSet

        public java.util.NavigableSet<E> headSet​(E toElement,
                                                 boolean inclusive)
        Specified by:
        headSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Overrides:
        headSet in class ForwardingNavigableSet<E extends @Nullable java.lang.Object>
      • headSet

        public java.util.SortedSet<E> headSet​(E toElement)
        Specified by:
        headSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Specified by:
        headSet in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
        Overrides:
        headSet in class ForwardingSortedSet<E extends @Nullable java.lang.Object>
      • tailSet

        public java.util.NavigableSet<E> tailSet​(E fromElement,
                                                 boolean inclusive)
        Specified by:
        tailSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Overrides:
        tailSet in class ForwardingNavigableSet<E extends @Nullable java.lang.Object>
      • tailSet

        public java.util.SortedSet<E> tailSet​(E fromElement)
        Specified by:
        tailSet in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Specified by:
        tailSet in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
        Overrides:
        tailSet in class ForwardingSortedSet<E extends @Nullable java.lang.Object>
      • comparator

        public java.util.Comparator<? super E> comparator()
        Specified by:
        comparator in interface java.util.SortedSet<E extends @Nullable java.lang.Object>
        Overrides:
        comparator in class ForwardingSortedSet<E extends @Nullable java.lang.Object>
      • iterator

        public java.util.Iterator<E> iterator()
        Specified by:
        iterator in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        iterator in interface java.lang.Iterable<E extends @Nullable java.lang.Object>
        Specified by:
        iterator in interface java.util.NavigableSet<E extends @Nullable java.lang.Object>
        Specified by:
        iterator in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        iterator in class ForwardingCollection<E extends @Nullable java.lang.Object>
      • toArray

        public @Nullable java.lang.Object[] toArray()
        Specified by:
        toArray in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        toArray in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        toArray in class ForwardingCollection<E extends @Nullable java.lang.Object>
      • toArray

        public <T extends @Nullable java.lang.Object> T[] toArray​(T[] array)
        Specified by:
        toArray in interface java.util.Collection<E extends @Nullable java.lang.Object>
        Specified by:
        toArray in interface java.util.Set<E extends @Nullable java.lang.Object>
        Overrides:
        toArray in class ForwardingCollection<E extends @Nullable java.lang.Object>
      • toString

        public java.lang.String toString()
        Description copied from class: ForwardingObject
        Returns the string representation generated by the delegate's toString method.
        Overrides:
        toString in class ForwardingObject