Class ForwardingMap.StandardKeySet
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
com.google.common.collect.ForwardingMap.StandardKeySet
- All Implemented Interfaces:
- Iterable<K>,- Collection<K>,- Set<K>
A sensible implementation of 
Map.keySet() in terms of the following methods: ForwardingMap.clear(), ForwardingMap.containsKey(java.lang.Object), ForwardingMap.isEmpty(), ForwardingMap.remove(java.lang.Object), ForwardingMap.size(), and the Set.iterator() method of
 ForwardingMap.entrySet(). In many cases, you may wish to override ForwardingMap.keySet() to forward to this implementation or a subclass thereof.- Since:
- 10.0
- Author:
- Kevin Bourrillion, Jared Levy, Louis Wasserman
- 
Constructor SummaryConstructors
- 
Method SummaryMethods 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.Setadd, addAll, containsAll, spliterator, toArray, toArray
- 
Constructor Details- 
StandardKeySetpublic StandardKeySet()Constructor for use by subclasses.
 
- 
- 
Method Details- 
iterator
- 
size
- 
isEmpty
- 
contains
- 
remove
- 
clear
- 
removeAll
- 
retainAll
 
-