public class Long2ObjectHashMap.KeySet extends AbstractSet<Long>
Constructor and Description |
---|
KeySet() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(long key)
Non-boxing variant of contains().
|
boolean |
contains(Object o) |
boolean |
isEmpty() |
Long2ObjectHashMap.KeyIterator |
iterator() |
boolean |
remove(long key)
Non-boxing variant of remove().
|
boolean |
remove(Object o) |
int |
size() |
equals, hashCode, removeAll
add, addAll, containsAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, containsAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
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 boolean contains(Object o)
contains
in interface Collection<Long>
contains
in interface Set<Long>
contains
in class AbstractCollection<Long>
public boolean contains(long key)
public Long2ObjectHashMap.KeyIterator iterator()
public boolean remove(Object o)
remove
in interface Collection<Long>
remove
in interface Set<Long>
remove
in class AbstractCollection<Long>
public boolean remove(long key)
public void clear()
clear
in interface Collection<Long>
clear
in interface Set<Long>
clear
in class AbstractCollection<Long>
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.