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:
Iterable<E>,Collection<E>,NavigableSet<E>,Set<E>,SortedSet<E>
- Enclosing class:
- Sets
private static class Sets.FilteredNavigableSet<E>
extends Sets.FilteredSortedSet<E>
implements NavigableSet<E>
-
Field Summary
Fields inherited from class com.google.common.collect.Collections2.FilteredCollection
predicate, unfiltered -
Constructor Summary
ConstructorsConstructorDescriptionFilteredNavigableSet(NavigableSet<E> unfiltered, Predicate<? super E> predicate) -
Method Summary
Methods inherited from class com.google.common.collect.Sets.FilteredSortedSet
comparator, first, headSet, subSet, tailSetMethods inherited from class com.google.common.collect.Sets.FilteredSet
equals, hashCodeMethods 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, toArrayMethods inherited from class java.util.AbstractCollection
toStringMethods 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.NavigableSet
headSet, iterator, subSet, tailSetMethods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSet
comparator, first, spliterator
-
Constructor Details
-
Method Details
-
unfiltered
NavigableSet<E> unfiltered() -
lower
- Specified by:
lowerin interfaceNavigableSet<E>
-
floor
- Specified by:
floorin interfaceNavigableSet<E>
-
ceiling
- Specified by:
ceilingin interfaceNavigableSet<E>
-
higher
- Specified by:
higherin interfaceNavigableSet<E>
-
pollFirst
- Specified by:
pollFirstin interfaceNavigableSet<E>
-
pollLast
- Specified by:
pollLastin interfaceNavigableSet<E>
-
descendingSet
- Specified by:
descendingSetin interfaceNavigableSet<E>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceNavigableSet<E>
-
last
-
subSet
public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) - Specified by:
subSetin interfaceNavigableSet<E>
-
headSet
- Specified by:
headSetin interfaceNavigableSet<E>
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<E>
-