Package com.google.common.collect
Class ForwardingSortedMap.StandardKeySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- 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.ForwardingSortedMap.StandardKeySet
-
- All Implemented Interfaces:
java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.Set<K>
,java.util.SortedSet<K>
- Enclosing class:
- ForwardingSortedMap<K,V>
protected class ForwardingSortedMap.StandardKeySet extends Maps.SortedKeySet<K,V>
A sensible implementation ofSortedMap.keySet()
in terms of the methods ofForwardingSortedMap
. In many cases, you may wish to overrideForwardingMap.keySet()
to forward to this implementation or a subclass thereof.- Since:
- 15.0
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.Maps.KeySet
map
-
-
Constructor Summary
Constructors Constructor Description StandardKeySet()
Constructor for use by subclasses.
-
Method Summary
-
Methods inherited from class com.google.common.collect.Maps.SortedKeySet
comparator, first, headSet, last, map, subSet, tailSet
-
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.AbstractCollection
add, addAll, containsAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-