Class AbstractHashedMap.KeySet<K>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<K>
-
- org.apache.commons.collections4.map.AbstractHashedMap.KeySet<K>
-
- All Implemented Interfaces:
java.lang.Iterable<K>
,java.util.Collection<K>
,java.util.Set<K>
- Direct Known Subclasses:
AbstractReferenceMap.ReferenceKeySet
- Enclosing class:
- AbstractHashedMap<K,V>
protected static class AbstractHashedMap.KeySet<K> extends java.util.AbstractSet<K>
KeySet implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractHashedMap<K,?>
parent
The parent map
-
Constructor Summary
Constructors Modifier Constructor Description protected
KeySet(AbstractHashedMap<K,?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
contains(java.lang.Object key)
java.util.Iterator<K>
iterator()
boolean
remove(java.lang.Object key)
int
size()
-
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
parent
private final AbstractHashedMap<K,?> parent
The parent map
-
-
Constructor Detail
-
KeySet
protected KeySet(AbstractHashedMap<K,?> parent)
-
-