V - type of the valuespublic class ConcurrentHashSet<V> extends Object implements Set<V>
| Constructor and Description |
|---|
ConcurrentHashSet()
Constructs a new, empty set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V o) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
equals(Object o) |
void |
forEach(Consumer<? super V> consumer) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
V[] |
toArray(Object[] a) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitspliteratorparallelStream, removeIf, streampublic int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public boolean add(V o)
public boolean remove(Object o)
public boolean addAll(Collection c)
public void clear()
public boolean equals(Object o)
public int hashCode()
public boolean removeAll(Collection c)
public boolean retainAll(Collection c)
public boolean containsAll(Collection c)
containsAll in interface Collection<V>containsAll in interface Set<V>Copyright © 1998–2025 Apryse Group NV. All rights reserved.