Class Sets.FilteredNavigableSet<E>

  • 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:
    Sets

    private static class Sets.FilteredNavigableSet<E>
    extends Sets.FilteredSortedSet<E>
    implements java.util.NavigableSet<E>
    • Constructor Detail

      • FilteredNavigableSet

        FilteredNavigableSet​(java.util.NavigableSet<E> unfiltered,
                             Predicate<? super E> predicate)
    • Method Detail

      • unfiltered

        java.util.NavigableSet<E> unfiltered()
      • lower

        @CheckForNull
        public E lower​(E e)
        Specified by:
        lower in interface java.util.NavigableSet<E>
      • floor

        @CheckForNull
        public E floor​(E e)
        Specified by:
        floor in interface java.util.NavigableSet<E>
      • ceiling

        @CheckForNull
        public E ceiling​(E e)
        Specified by:
        ceiling in interface java.util.NavigableSet<E>
      • higher

        @CheckForNull
        public E higher​(E e)
        Specified by:
        higher in interface java.util.NavigableSet<E>
      • pollFirst

        @CheckForNull
        public E pollFirst()
        Specified by:
        pollFirst in interface java.util.NavigableSet<E>
      • pollLast

        @CheckForNull
        public E pollLast()
        Specified by:
        pollLast in interface java.util.NavigableSet<E>
      • descendingSet

        public java.util.NavigableSet<E> descendingSet()
        Specified by:
        descendingSet in interface java.util.NavigableSet<E>
      • descendingIterator

        public java.util.Iterator<E> descendingIterator()
        Specified by:
        descendingIterator in interface java.util.NavigableSet<E>
      • subSet

        public java.util.NavigableSet<E> subSet​(E fromElement,
                                                boolean fromInclusive,
                                                E toElement,
                                                boolean toInclusive)
        Specified by:
        subSet in interface java.util.NavigableSet<E>
      • headSet

        public java.util.NavigableSet<E> headSet​(E toElement,
                                                 boolean inclusive)
        Specified by:
        headSet in interface java.util.NavigableSet<E>
      • tailSet

        public java.util.NavigableSet<E> tailSet​(E fromElement,
                                                 boolean inclusive)
        Specified by:
        tailSet in interface java.util.NavigableSet<E>