Package com.google.common.collect
Class Sets.FilteredNavigableSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- com.google.common.collect.Collections2.FilteredCollection<E>
-
- com.google.common.collect.Sets.FilteredSet<E>
-
- com.google.common.collect.Sets.FilteredSortedSet<E>
-
- com.google.common.collect.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
@GwtIncompatible private static class Sets.FilteredNavigableSet<E> extends Sets.FilteredSortedSet<E> implements java.util.NavigableSet<E>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.Collections2.FilteredCollection
predicate, unfiltered
-
-
Constructor Summary
Constructors Constructor Description FilteredNavigableSet(java.util.NavigableSet<E> unfiltered, Predicate<? super E> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Eceiling(E e)java.util.Iterator<E>descendingIterator()java.util.NavigableSet<E>descendingSet()Efloor(E e)java.util.NavigableSet<E>headSet(E toElement, boolean inclusive)Ehigher(E e)Elast()Elower(E e)EpollFirst()EpollLast()java.util.NavigableSet<E>subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)java.util.NavigableSet<E>tailSet(E fromElement, boolean inclusive)(package private) java.util.NavigableSet<E>unfiltered()-
Methods inherited from class com.google.common.collect.Sets.FilteredSortedSet
comparator, first, headSet, subSet, tailSet
-
Methods inherited from class com.google.common.collect.Sets.FilteredSet
equals, hashCode
-
Methods inherited from class com.google.common.collect.Collections2.FilteredCollection
add, addAll, clear, contains, containsAll, createCombined, forEach, isEmpty, iterator, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
unfiltered
java.util.NavigableSet<E> unfiltered()
-
descendingSet
public java.util.NavigableSet<E> descendingSet()
- Specified by:
descendingSetin interfacejava.util.NavigableSet<E>
-
descendingIterator
public java.util.Iterator<E> descendingIterator()
- Specified by:
descendingIteratorin interfacejava.util.NavigableSet<E>
-
last
public E last()
- Specified by:
lastin interfacejava.util.SortedSet<E>- Overrides:
lastin classSets.FilteredSortedSet<E>
-
subSet
public java.util.NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
- Specified by:
subSetin interfacejava.util.NavigableSet<E>
-
headSet
public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive)
- Specified by:
headSetin interfacejava.util.NavigableSet<E>
-
-