public final class Long2LongHashMap.KeySet extends AbstractSet<Long> implements Serializable
| Constructor and Description |
|---|
KeySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(long key)
Checks if key is contained in the map without boxing.
|
boolean |
contains(Object o) |
boolean |
isEmpty() |
Long2LongHashMap.KeyIterator |
iterator() |
int |
size() |
equals, hashCode, removeAlladd, addAll, containsAll, remove, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, containsAll, remove, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Long2LongHashMap.KeyIterator iterator()
public int size()
size in interface Collection<Long>size in interface Set<Long>size in class AbstractCollection<Long>public boolean isEmpty()
isEmpty in interface Collection<Long>isEmpty in interface Set<Long>isEmpty in class AbstractCollection<Long>public void clear()
clear in interface Collection<Long>clear in interface Set<Long>clear in class AbstractCollection<Long>public boolean contains(Object o)
contains in interface Collection<Long>contains in interface Set<Long>contains in class AbstractCollection<Long>public boolean contains(long key)
key - to check.true if key is contained in this map.Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.