public final class Int2IntHashMap.EntrySet extends AbstractSet<Map.Entry<Integer,Integer>>
| Constructor and Description |
|---|
EntrySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(Object o) |
boolean |
isEmpty() |
Int2IntHashMap.EntryIterator |
iterator() |
boolean |
removeIfInt(IntIntPredicate filter)
Removes all the elements of this collection that satisfy the given predicate.
|
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
equals, hashCode, removeAlladd, addAll, containsAll, remove, retainAll, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, containsAll, remove, retainAll, spliteratorparallelStream, removeIf, streampublic Int2IntHashMap.EntryIterator iterator()
public int size()
public boolean isEmpty()
public void clear()
public boolean contains(Object o)
public boolean removeIfInt(IntIntPredicate filter)
NB: Renamed from removeIf to avoid overloading on parameter types of lambda expression, which doesn't play well with type inference in lambda expressions.
filter - a predicate to apply.true if at least one entry was removed.public Object[] toArray()
Copyright © 2014-2022 Real Logic Limited. All Rights Reserved.