@Beta protected class ForwardingMap.StandardValues extends 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 |
|---|
StandardValues()
Constructor for use by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
|
boolean |
contains(Object
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
boolean |
remove(Object
|
boolean |
removeAll(Collection
|
boolean |
retainAll(Collection
|
int |
size()
|
add, addAll, containsAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic Iterator<V> iterator()
public boolean remove(Objecto)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public boolean isEmpty()
public boolean contains(Objecto)
public void clear()