Package org.agrona.collections
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
valueIterator
-
-
Constructor Details
-
ValueCollection
public ValueCollection()Create a new instance.
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceCollection<V>
- Specified by:
iterator
in interfaceIterable<V>
- Specified by:
iterator
in classAbstractCollection<V>
-
size
public int size()- Specified by:
size
in interfaceCollection<V>
- Specified by:
size
in classAbstractCollection<V>
-
contains
- Specified by:
contains
in interfaceCollection<V>
- Overrides:
contains
in classAbstractCollection<V>
-
forEach
-