public class Int2ObjectHashMap.KeySet extends AbstractSet<Integer>
Constructor and Description |
---|
KeySet() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(int key)
Non-boxing variant of contains().
|
boolean |
contains(Object o) |
boolean |
isEmpty() |
Int2ObjectHashMap.KeyIterator |
iterator() |
boolean |
remove(int 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<Integer>
size
in interface Set<Integer>
size
in class AbstractCollection<Integer>
public boolean isEmpty()
isEmpty
in interface Collection<Integer>
isEmpty
in interface Set<Integer>
isEmpty
in class AbstractCollection<Integer>
public boolean contains(Object o)
contains
in interface Collection<Integer>
contains
in interface Set<Integer>
contains
in class AbstractCollection<Integer>
public boolean contains(int key)
public Int2ObjectHashMap.KeyIterator iterator()
public boolean remove(Object o)
remove
in interface Collection<Integer>
remove
in interface Set<Integer>
remove
in class AbstractCollection<Integer>
public boolean remove(int key)
public void clear()
clear
in interface Collection<Integer>
clear
in interface Set<Integer>
clear
in class AbstractCollection<Integer>
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.