protected static class AbstractHashedMap.KeySet<K> extends AbstractSet<K>
Modifier | Constructor and Description |
---|---|
protected |
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected 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 © 2006–2022 Apache Software Foundation. All rights reserved.