protected static class AbstractHashedMap.KeySet<K> extends AbstractSet<K>
Modifier | Constructor and Description |
---|---|
protected |
AbstractHashedMap.KeySet(AbstractHashedMap<K,?> parent) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(Object key) |
Iterator<K> |
iterator() |
boolean |
remove(Object key) |
int |
size() |
equals, hashCode, removeAll
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
protected AbstractHashedMap.KeySet(AbstractHashedMap<K,?> 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 © 2001–2013 The Apache Software Foundation. All rights reserved.