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.For removal in Netty 4.2. Please useConcurrentHashMap#newKeySet()
instead- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConcurrentSet()
Deprecated.Creates a new instance which wraps the specifiedmap
.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
add(E o)
Deprecated.void
clear()
Deprecated.boolean
contains(java.lang.Object o)
Deprecated.java.util.Iterator<E>
iterator()
Deprecated.boolean
remove(java.lang.Object o)
Deprecated.int
size()
Deprecated.-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
-
-
-
Method Detail
-
size
public int size()
Deprecated.
-
contains
public boolean contains(java.lang.Object o)
Deprecated.
-
add
public boolean add(E o)
Deprecated.
-
remove
public boolean remove(java.lang.Object o)
Deprecated.
-
clear
public void clear()
Deprecated.
-
-