Class AbstractHashedMap.KeySet<K>
java.lang.Object
java.util.AbstractCollection<K>
java.util.AbstractSet<K>
org.apache.commons.collections4.map.AbstractHashedMap.KeySet<K>
- Type Parameters:
K- the type of elements maintained by this set
- All Implemented Interfaces:
Iterable<K>, Collection<K>, Set<K>
- Enclosing class:
AbstractHashedMap<K,V>
KeySet implementation.
- Since:
- 3.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedKeySet(AbstractHashedMap<K, ?> parent) Constructs a new instance. -
Method Summary
Methods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
add, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface Set
add, addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
KeySet
Constructs a new instance.- Parameters:
parent- The parent AbstractHashedMap.
-
-
Method Details
-
clear
- Specified by:
clearin interfaceCollection<K>- Specified by:
clearin interfaceSet<K>- Overrides:
clearin classAbstractCollection<K>
-
contains
-
iterator
-
remove
-
size
- Specified by:
sizein interfaceCollection<K>- Specified by:
sizein interfaceSet<K>- Specified by:
sizein classAbstractCollection<K>
-