Class AbstractHashedMap.Values<V>
java.lang.Object
java.util.AbstractCollection<V>
org.apache.commons.collections4.map.AbstractHashedMap.Values<V>
- Type Parameters:
V- the type of elements maintained by this collection
- All Implemented Interfaces:
Iterable<V>,Collection<V>
- Direct Known Subclasses:
AbstractReferenceMap.ReferenceValues
- Enclosing class:
AbstractHashedMap<K,V>
Values implementation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedValues(AbstractHashedMap<?, V> parent) Constructs a new instance. -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream
-
Field Details
-
parent
The parent map
-
-
Constructor Details
-
Values
Constructs a new instance.- Parameters:
parent- The parent AbstractHashedMap.
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceCollection<V>- Overrides:
clearin classAbstractCollection<V>
-
contains
- Specified by:
containsin interfaceCollection<V>- Overrides:
containsin classAbstractCollection<V>
-
iterator
- Specified by:
iteratorin interfaceCollection<V>- Specified by:
iteratorin interfaceIterable<V>- Specified by:
iteratorin classAbstractCollection<V>
-
size
public int size()- Specified by:
sizein interfaceCollection<V>- Specified by:
sizein classAbstractCollection<V>
-