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 E
ceiling(E e)
java.util.Iterator<E>
descendingIterator()
java.util.NavigableSet<E>
descendingSet()
E
floor(E e)
java.util.NavigableSet<E>
headSet(E toElement, boolean inclusive)
E
higher(E e)
E
last()
E
lower(E e)
E
pollFirst()
E
pollLast()
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, isEmpty, iterator, remove, removeAll, retainAll, size, 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:
descendingSet
in interfacejava.util.NavigableSet<E>
-
descendingIterator
public java.util.Iterator<E> descendingIterator()
- Specified by:
descendingIterator
in interfacejava.util.NavigableSet<E>
-
last
public E last()
- Specified by:
last
in interfacejava.util.SortedSet<E>
- Overrides:
last
in classSets.FilteredSortedSet<E>
-
subSet
public java.util.NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive)
- Specified by:
subSet
in interfacejava.util.NavigableSet<E>
-
headSet
public java.util.NavigableSet<E> headSet(E toElement, boolean inclusive)
- Specified by:
headSet
in interfacejava.util.NavigableSet<E>
-
-