@Beta protected class ForwardingMap.StandardValues extends java.util.AbstractCollection<V>
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.| Constructor and Description |
|---|
ForwardingMap.StandardValues()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
isEmpty() |
java.util.Iterator<V> |
iterator() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
add, addAll, containsAll, toArray, toArray, toStringpublic ForwardingMap.StandardValues()
public java.util.Iterator<V> iterator()
iterator in interface java.lang.Iterable<V>iterator in interface java.util.Collection<V>iterator in class java.util.AbstractCollection<V>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<V>remove in class java.util.AbstractCollection<V>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<V>removeAll in class java.util.AbstractCollection<V>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<V>retainAll in class java.util.AbstractCollection<V>public int size()
size in interface java.util.Collection<V>size in class java.util.AbstractCollection<V>public boolean isEmpty()
isEmpty in interface java.util.Collection<V>isEmpty in class java.util.AbstractCollection<V>public boolean contains(@Nullable
java.lang.Object o)
contains in interface java.util.Collection<V>contains in class java.util.AbstractCollection<V>public void clear()
clear in interface java.util.Collection<V>clear in class java.util.AbstractCollection<V>