Package org.plumelib.util
Class ArrayMap.Values
java.lang.Object
java.util.AbstractCollection<V>
org.plumelib.util.ArrayMap.Values
- All Implemented Interfaces:
Iterable<V>,Collection<V>
Represents a view of the values.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
add, addAll, containsAll, isEmpty, remove, removeAll, retainAll, 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, toArray
-
Constructor Details
-
Values
public Values()Creates a new Values.
-
-
Method Details
-
size
@Pure public final @org.checkerframework.checker.index.qual.NonNegative int size()- Specified by:
sizein interfaceCollection<V extends @UnknownSignedness Object>- Specified by:
sizein classAbstractCollection<V extends @UnknownSignedness Object>
-
clear
public final void clear()- Specified by:
clearin interfaceCollection<V extends @UnknownSignedness Object>- Overrides:
clearin classAbstractCollection<V extends @UnknownSignedness Object>
-
iterator
-
contains
- Specified by:
containsin interfaceCollection<V extends @UnknownSignedness Object>- Overrides:
containsin classAbstractCollection<V extends @UnknownSignedness Object>
-
toArray
- Specified by:
toArrayin interfaceCollection<V extends @UnknownSignedness Object>- Overrides:
toArrayin classAbstractCollection<V extends @UnknownSignedness Object>
-
toArray
@SideEffectFree public <T> @Nullable T[] toArray(@PolyNull T[] a) - Specified by:
toArrayin interfaceCollection<V extends @UnknownSignedness Object>- Overrides:
toArrayin classAbstractCollection<V extends @UnknownSignedness Object>
-
forEach
-