Package com.google.common.collect
Class Maps.NavigableKeySet<K,V>
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
com.google.common.collect.Sets.ImprovedAbstractSet<K>
com.google.common.collect.Maps.KeySet<K,V>
com.google.common.collect.Maps.SortedKeySet<K,V>
com.google.common.collect.Maps.NavigableKeySet<K,V>
- All Implemented Interfaces:
Iterable<K>
,Collection<K>
,NavigableSet<K>
,SequencedCollection<K>
,SequencedSet<K>
,Set<K>
,SortedSet<K>
- Direct Known Subclasses:
ForwardingNavigableMap.StandardNavigableKeySet
- Enclosing class:
Maps
-
Field Summary
Fields inherited from class com.google.common.collect.Maps.KeySet
map
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.Maps.SortedKeySet
comparator, first, last
Methods inherited from class com.google.common.collect.Maps.KeySet
clear, contains, forEach, isEmpty, iterator, remove, size
Methods inherited from class com.google.common.collect.Sets.ImprovedAbstractSet
removeAll, retainAll
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, toArray, toArray, 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
iterator, removeFirst, removeLast, reversed
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, last, spliterator
-
Constructor Details
-
Method Details
-
map
NavigableMap<K,V> map()- Overrides:
map
in classMaps.SortedKeySet<K,
V>
-
lower
- Specified by:
lower
in interfaceNavigableSet<K>
-
floor
- Specified by:
floor
in interfaceNavigableSet<K>
-
ceiling
- Specified by:
ceiling
in interfaceNavigableSet<K>
-
higher
- Specified by:
higher
in interfaceNavigableSet<K>
-
pollFirst
- Specified by:
pollFirst
in interfaceNavigableSet<K>
-
pollLast
- Specified by:
pollLast
in interfaceNavigableSet<K>
-
descendingSet
- Specified by:
descendingSet
in interfaceNavigableSet<K>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceNavigableSet<K>
-
subSet
public NavigableSet<K> subSet(K fromElement, boolean fromInclusive, K toElement, boolean toInclusive) - Specified by:
subSet
in interfaceNavigableSet<K>
-
subSet
- Specified by:
subSet
in interfaceNavigableSet<K>
- Specified by:
subSet
in interfaceSortedSet<K>
- Overrides:
subSet
in classMaps.SortedKeySet<K,
V>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<K>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<K>
- Specified by:
headSet
in interfaceSortedSet<K>
- Overrides:
headSet
in classMaps.SortedKeySet<K,
V>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<K>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<K>
- Specified by:
tailSet
in interfaceSortedSet<K>
- Overrides:
tailSet
in classMaps.SortedKeySet<K,
V>
-