Class ConcurrentHashSet
java.lang.Object
com.itextpdf.commons.datastructures.ConcurrentHashSet
- Type Parameters:
-
V- type of the values
- All Implemented Interfaces:
-
Iterable,Collection,Set
Concurrent hash set implementation.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
spliterator
-
Constructor Details
-
ConcurrentHashSet
public ConcurrentHashSet()Constructs a new, empty set.
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
add
-
remove
-
addAll
-
clear
public void clear() -
equals
-
hashCode
public int hashCode() -
forEach
-
removeAll
-
retainAll
-
containsAll
- Specified by:
-
containsAllin interfaceCollection<V> - Specified by:
-
containsAllin interfaceSet<V>
-
toArray
-