@Beta protected class ForwardingNavigableMap.StandardNavigableKeySet extends AbstractSet<E>
NavigableMap.navigableKeySet() in terms of the methods of this
NavigableMap. In many cases, you may wish to override
ForwardingNavigableMap.navigableKeySet() to forward to this implementation or a subclass thereof.
| Constructor and Description |
|---|
StandardNavigableKeySet()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
K |
ceiling(K e)
|
void |
clear()
|
Comparator |
comparator()
|
boolean |
contains(Object
|
Iterator |
descendingIterator()
|
NavigableSet |
descendingSet()
|
K |
first()
|
K |
floor(K e)
|
SortedSet |
headSet(K toElement)
|
NavigableSet |
headSet(K toElement, boolean inclusive)
|
K |
higher(K e)
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
K |
last()
|
K |
lower(K e)
|
K |
pollFirst()
|
K |
pollLast()
|
boolean |
remove(Object
|
boolean |
removeAll(Collection
|
boolean |
retainAll(Collection
|
int |
size()
|
NavigableSet |
subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive)
|
SortedSet |
subSet(K fromElement, K toElement)
|
SortedSet |
tailSet(K fromElement)
|
NavigableSet |
tailSet(K fromElement, boolean inclusive)
|
equals, hashCodeadd, addAll, containsAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waititeratorcomparator, first, last, spliteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streampublic StandardNavigableKeySet()
public K lower(K e)
public K floor(K e)
public K ceiling(K e)
public K higher(K e)
public K pollFirst()
public K pollLast()
public NavigableSet<K> descendingSet()
public Iterator<K> descendingIterator()
public NavigableSet<K> subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive)
public NavigableSet<K> headSet(K toElement, boolean inclusive)
public NavigableSet<K> tailSet(K fromElement, boolean inclusive)
public SortedSet<K> subSet(K fromElement, K toElement)
public SortedSet<K> headSet(K toElement)
public SortedSet<K> tailSet(K fromElement)
public Comparator<? super K> comparator()
public K first()
public K last()
public Iterator<K> iterator()
public int size()
public boolean isEmpty()
public boolean contains(Objecto)
public boolean remove(Objecto)
public void clear()
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)