private static class Sets.FilteredSortedSet<E> extends Sets.FilteredSet<E> implements java.util.SortedSet<E>
predicate, unfiltered| Constructor and Description |
|---|
FilteredSortedSet(java.util.SortedSet<E> unfiltered,
Predicate<? super E> predicate) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<? super E> |
comparator() |
E |
first() |
java.util.SortedSet<E> |
headSet(E toElement) |
E |
last() |
java.util.SortedSet<E> |
subSet(E fromElement,
E toElement) |
java.util.SortedSet<E> |
tailSet(E fromElement) |
equals, hashCodeadd, addAll, clear, contains, containsAll, createCombined, forEach, isEmpty, iterator, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, wait@CheckForNull public java.util.Comparator<? super E> comparator()
comparator in interface java.util.SortedSet<E>public java.util.SortedSet<E> subSet(E fromElement, E toElement)
subSet in interface java.util.SortedSet<E>public java.util.SortedSet<E> headSet(E toElement)
headSet in interface java.util.SortedSet<E>public java.util.SortedSet<E> tailSet(E fromElement)
tailSet in interface java.util.SortedSet<E>