Package com.google.common.collect
Class ForwardingMap.StandardEntrySet
java.lang.Object
java.util.AbstractCollection<Map.Entry<K,V>>
java.util.AbstractSet<Map.Entry<K,V>>
com.google.common.collect.Sets.ImprovedAbstractSet<Map.Entry<K,V>>
com.google.common.collect.Maps.EntrySet<K,V>
com.google.common.collect.ForwardingMap.StandardEntrySet
- All Implemented Interfaces:
Iterable<Map.Entry<K,
,V>> Collection<Map.Entry<K,
,V>> Set<Map.Entry<K,
V>>
- Enclosing class:
ForwardingMap<K,
V>
A sensible implementation of
Map.entrySet()
in terms of the following methods: ForwardingMap.clear()
, ForwardingMap.containsKey(java.lang.Object)
, ForwardingMap.get(java.lang.Object)
, ForwardingMap.isEmpty()
, ForwardingMap.remove(java.lang.Object)
, and ForwardingMap.size()
. In many
cases, you may wish to override ForwardingMap.entrySet()
to forward to this implementation or a
subclass thereof.- Since:
- 10.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.Maps.EntrySet
clear, contains, isEmpty, remove, removeAll, retainAll, size
Methods inherited from class java.util.AbstractSet
equals, hashCode
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, iterator, 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.Set
add, addAll, containsAll, iterator, spliterator, toArray, toArray
-
Constructor Details
-
StandardEntrySet
protected StandardEntrySet()Constructor for use by subclasses.
-
-
Method Details
-
map
- Specified by:
map
in classMaps.EntrySet<K,
V>
-