Class ConcurrentSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
io.netty.util.internal.ConcurrentSet<E>
- All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>
Deprecated.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new instance which wraps the specifiedmap. -
Method Summary
Methods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, streamMethods inherited from interface Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Constructor Details
-
ConcurrentSet
public ConcurrentSet()Deprecated.Creates a new instance which wraps the specifiedmap.
-
-
Method Details
-
size
public int size()Deprecated.- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein interfaceSet<E>- Specified by:
sizein classAbstractCollection<E>
-
contains
Deprecated.- Specified by:
containsin interfaceCollection<E>- Specified by:
containsin interfaceSet<E>- Overrides:
containsin classAbstractCollection<E>
-
add
Deprecated.- Specified by:
addin interfaceCollection<E>- Specified by:
addin interfaceSet<E>- Overrides:
addin classAbstractCollection<E>
-
remove
Deprecated.- Specified by:
removein interfaceCollection<E>- Specified by:
removein interfaceSet<E>- Overrides:
removein classAbstractCollection<E>
-
clear
public void clear()Deprecated.- Specified by:
clearin interfaceCollection<E>- Specified by:
clearin interfaceSet<E>- Overrides:
clearin classAbstractCollection<E>
-
iterator
-
ConcurrentHashMap.newKeySet()instead