Class ForwardingNavigableMap.StandardNavigableKeySet
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
com.google.common.collect.ForwardingNavigableMap.StandardNavigableKeySet
- All Implemented Interfaces:
- Iterable<K>,- Collection<K>,- NavigableSet<K>,- SequencedCollection<K>,- SequencedSet<K>,- Set<K>,- SortedSet<K>
A sensible implementation of 
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.- Since:
- 12.0
- Author:
- Louis Wasserman
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()@Nullable Comparator<? super K> booleanfirst()booleanisEmpty()iterator()last()pollLast()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Methods inherited from class java.util.AbstractSetequals, hashCodeMethods inherited from class java.util.AbstractCollectionadd, addAll, containsAll, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.NavigableSetiterator, removeFirst, removeLast, reversedMethods inherited from interface java.util.Setadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSetaddFirst, addLast, comparator, first, getFirst, getLast, last, spliterator
- 
Constructor Details- 
StandardNavigableKeySetpublic StandardNavigableKeySet()Constructor for use by subclasses.
 
- 
- 
Method Details- 
lower
- 
floor
- 
ceiling
- 
higher
- 
pollFirst- Specified by:
- pollFirstin interface- NavigableSet<K extends @Nullable Object>
 
- 
pollLast- Specified by:
- pollLastin interface- NavigableSet<K extends @Nullable Object>
 
- 
descendingSet- Specified by:
- descendingSetin interface- NavigableSet<K extends @Nullable Object>
 
- 
descendingIterator- Specified by:
- descendingIteratorin interface- NavigableSet<K extends @Nullable Object>
 
- 
subSetpublic NavigableSet<K> subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive) - Specified by:
- subSetin interface- NavigableSet<K extends @Nullable Object>
 
- 
subSet
- 
headSet- Specified by:
- headSetin interface- NavigableSet<K extends @Nullable Object>
 
- 
headSet
- 
tailSet- Specified by:
- tailSetin interface- NavigableSet<K extends @Nullable Object>
 
- 
tailSet
- 
comparator- Specified by:
- comparatorin interface- SortedSet<K extends @Nullable Object>
 
- 
first
- 
last
- 
iterator
- 
size
- 
isEmpty
- 
contains
- 
remove
- 
clear
- 
removeAll
- 
retainAll
 
-