Class ForwardingMap.StandardValues

java.lang.Object
java.util.AbstractCollection<V>
com.google.common.collect.Maps.Values<K,V>
com.google.common.collect.ForwardingMap.StandardValues
All Implemented Interfaces:
Iterable<V>, Collection<V>
Enclosing class:
ForwardingMap<K,V>

protected class ForwardingMap.StandardValues extends Maps.Values<K,V>
A sensible implementation of Map.values() in terms of the following methods: ForwardingMap.clear(), ForwardingMap.containsValue(java.lang.Object), ForwardingMap.isEmpty(), ForwardingMap.size(), and the Set.iterator() method of ForwardingMap.entrySet(). In many cases, you may wish to override ForwardingMap.values() to forward to this implementation or a subclass thereof.
Since:
10.0
  • Constructor Details

    • StandardValues

      public StandardValues()
      Constructor for use by subclasses.