K - the type of keys maintained by this mapV - the type of mapped valuesprotected static class AbstractHashMap.Values<K,V> extends AbstractCollection
| Modifier and Type | Field and Description |
|---|---|
protected AbstractHashMap<K,V> |
parent
The parent map
|
| Modifier | Constructor and Description |
|---|---|
protected |
Values(AbstractHashMap parent)
Constructs new
AbstractHashMap.Values. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(Object value) |
Iterator |
iterator() |
int |
size() |
add, addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streamprotected final AbstractHashMap<K,V> parent
protected Values(AbstractHashMap parent)
AbstractHashMap.Values.parent - AbstractHashMappublic int size()
size in interface Collectionsize in class AbstractCollectionpublic void clear()
clear in interface Collectionclear in class AbstractCollectionpublic boolean contains(Object value)
contains in interface Collectioncontains in class AbstractCollectionpublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in class AbstractCollectionCopyright © 2020. All rights reserved.