public final class Long2ObjectCache.KeySet extends AbstractSet<Long>
| Constructor and Description |
|---|
KeySet() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
contains(long key)
Check if the given key contained in the set without boxing.
|
boolean |
contains(Object o) |
Long2ObjectCache.KeyIterator |
iterator() |
boolean |
remove(Object o) |
int |
size() |
equals, hashCode, removeAlladd, addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic int size()
size in interface Collection<Long>size in interface Set<Long>size 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 be checked.true if key is contained in the cache.public Long2ObjectCache.KeyIterator iterator()
public boolean remove(Object o)
remove in interface Collection<Long>remove in interface Set<Long>remove in class AbstractCollection<Long>public void clear()
clear in interface Collection<Long>clear in interface Set<Long>clear in class AbstractCollection<Long>Copyright © 2014-2021 Real Logic Limited. All Rights Reserved.