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>
,SequencedCollection<E>
,SequencedSet<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, 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.util.AbstractCollection
toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.NavigableSet
headSet, iterator, removeFirst, removeLast, reversed, subSet, tailSet
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from interface java.util.SortedSet
addFirst, addLast, comparator, first, getFirst, getLast, spliterator
-
Constructor Details
-
Method Details
-
unfiltered
NavigableSet<E> unfiltered() -
lower
- Specified by:
lower
in interfaceNavigableSet<E>
-
floor
- Specified by:
floor
in interfaceNavigableSet<E>
-
ceiling
- Specified by:
ceiling
in interfaceNavigableSet<E>
-
higher
- Specified by:
higher
in interfaceNavigableSet<E>
-
pollFirst
- Specified by:
pollFirst
in interfaceNavigableSet<E>
-
pollLast
- Specified by:
pollLast
in interfaceNavigableSet<E>
-
descendingSet
- Specified by:
descendingSet
in interfaceNavigableSet<E>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceNavigableSet<E>
-
last
-
subSet
public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) - Specified by:
subSet
in interfaceNavigableSet<E>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<E>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<E>
-