Package com.google.common.collect
Class ForwardingMap.StandardValues
- java.lang.Object
- 
- java.util.AbstractCollection<V>
- 
- com.google.common.collect.ForwardingMap.StandardValues
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<V>,- java.util.Collection<V>
 - Enclosing class:
- ForwardingMap<K extends @Nullable java.lang.Object,V extends @Nullable java.lang.Object>
 
 protected class ForwardingMap.StandardValues extends java.util.AbstractCollection<V> A sensible implementation ofMap.values()in terms of the following methods:ForwardingMap.clear(),ForwardingMap.containsValue(java.lang.Object),ForwardingMap.isEmpty(),ForwardingMap.size(), and theSet.iterator()method ofForwardingMap.entrySet(). In many cases, you may wish to overrideForwardingMap.values()to forward to this implementation or a subclass thereof.- Since:
- 10.0
 
- 
- 
Constructor SummaryConstructors Constructor Description StandardValues()Constructor for use by subclasses.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(java.lang.Object o)booleanisEmpty()java.util.Iterator<V>iterator()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection<?> c)booleanretainAll(java.util.Collection<?> c)intsize()- 
Methods inherited from class java.util.AbstractCollectionadd, addAll, containsAll, toArray, toArray, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
- 
 
- 
- 
- 
Constructor Detail- 
StandardValuespublic StandardValues() Constructor for use by subclasses.
 
- 
 - 
Method Detail- 
iteratorpublic java.util.Iterator<V> iterator() 
 - 
removepublic boolean remove(@CheckForNull java.lang.Object o) 
 - 
removeAllpublic boolean removeAll(java.util.Collection<?> c) 
 - 
retainAllpublic boolean retainAll(java.util.Collection<?> c) 
 - 
sizepublic int size() 
 - 
isEmptypublic boolean isEmpty() 
 - 
containspublic boolean contains(@CheckForNull java.lang.Object o) 
 
- 
 
-