Package io.netty.util.internal
Class ConcurrentSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
io.netty.util.internal.ConcurrentSet<E>
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.Set<E>
@Deprecated
public final class ConcurrentSet<E>
extends java.util.AbstractSet<E>
implements java.io.Serializable
Deprecated.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final java.util.concurrent.ConcurrentMap<E, java.lang.Boolean> Deprecated.private static final longDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new instance which wraps the specifiedmap. -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, streamMethods inherited from interface java.lang.Iterable
forEachMethods inherited from interface java.util.Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
map
Deprecated.
-
-
Constructor Details
-
ConcurrentSet
public ConcurrentSet()Deprecated.Creates a new instance which wraps the specifiedmap.
-
-
Method Details
-
size
public int size()Deprecated. -
contains
public boolean contains(java.lang.Object o) Deprecated. -
add
Deprecated. -
remove
public boolean remove(java.lang.Object o) Deprecated. -
clear
public void clear()Deprecated. -
iterator
Deprecated.
-
ConcurrentHashMap.newKeySet()instead