Class Object2ObjectHashMap.ValueCollection
java.lang.Object
java.util.AbstractCollection<V>
org.agrona.collections.Object2ObjectHashMap.ValueCollection
- All Implemented Interfaces:
Iterable<V>, Collection<V>
- Enclosing class:
Object2ObjectHashMap<K,V>
A collection of values.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ValueCollection
public ValueCollection()Create a new instance.
-
-
Method Details
-
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>
-
contains
- Specified by:
containsin interfaceCollection<V>- Overrides:
containsin classAbstractCollection<V>
-
forEach
-