protected static class AbstractHashedMap.KeySet extends AbstractSet
Modifier and Type | Field and Description |
---|---|
protected AbstractHashedMap |
parent
The parent map
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractHashedMap.KeySet(AbstractHashedMap parent) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(Object key) |
Iterator |
iterator() |
boolean |
remove(Object key) |
int |
size() |
equals, hashCode, removeAll
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
protected final AbstractHashedMap parent
protected AbstractHashedMap.KeySet(AbstractHashedMap parent)
public int size()
size
in interface Collection
size
in interface Set
size
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in interface Set
clear
in class AbstractCollection
public boolean contains(Object key)
contains
in interface Collection
contains
in interface Set
contains
in class AbstractCollection
public boolean remove(Object key)
remove
in interface Collection
remove
in interface Set
remove
in class AbstractCollection
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface Set
iterator
in class AbstractCollection
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.