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, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
-
containsAll
in interfaceCollection<V>
- Specified by:
-
containsAll
in interfaceSet<V>
-
toArray
-