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,?>parentThe parent map
-
Constructor Summary
Constructors Modifier Constructor Description protectedKeySet(AbstractHashedMap<K,?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontains(java.lang.Object key)java.util.Iterator<K>iterator()booleanremove(java.lang.Object key)intsize()-
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)
-
-