public final class Int2IntHashMap.ValueCollection extends AbstractCollection<Integer> implements Serializable
Constructor and Description |
---|
ValueCollection() |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int value)
Checks if the value is contained in the map.
|
boolean |
contains(Object o) |
Int2IntHashMap.ValueIterator |
iterator() |
int |
size() |
add, addAll, clear, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public Int2IntHashMap.ValueIterator iterator()
iterator
in interface Iterable<Integer>
iterator
in interface Collection<Integer>
iterator
in class AbstractCollection<Integer>
public int size()
size
in interface Collection<Integer>
size
in class AbstractCollection<Integer>
public boolean contains(Object o)
contains
in interface Collection<Integer>
contains
in class AbstractCollection<Integer>
public boolean contains(int value)
value
- to be checked.true
if value is contained in this map.Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.