protected static class AbstractHashedMap.KeySet<K,V> extends AbstractSet<K>
| Modifier and Type | Field and Description |
|---|---|
protected AbstractHashedMap<K,V> |
parent
The parent map
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHashedMap.KeySet(AbstractHashedMap<K,V> parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(Object key) |
Iterator<K> |
iterator() |
boolean |
remove(Object key) |
int |
size() |
equals, hashCode, removeAlladd, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringprotected final AbstractHashedMap<K,V> parent
protected AbstractHashedMap.KeySet(AbstractHashedMap<K,V> parent)
public int size()
size in interface Collection<K>size in interface Set<K>size in class AbstractCollection<K>public void clear()
clear in interface Collection<K>clear in interface Set<K>clear in class AbstractCollection<K>public boolean contains(Object key)
contains in interface Collection<K>contains in interface Set<K>contains in class AbstractCollection<K>public boolean remove(Object key)
remove in interface Collection<K>remove in interface Set<K>remove in class AbstractCollection<K>Copyright © 2014. All Rights Reserved.