Package org.eclipse.jetty.util
Class ConcurrentHashSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- org.eclipse.jetty.util.ConcurrentHashSet<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Set<E>
@Deprecated public class ConcurrentHashSet<E> extends java.util.AbstractSet<E> implements java.util.Set<E>
Deprecated.Use Java 8 methodConcurrentHashMap.newKeySet()
instead.
-
-
Constructor Summary
Constructors Constructor Description ConcurrentHashSet()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
add(E e)
Deprecated.void
clear()
Deprecated.boolean
contains(java.lang.Object o)
Deprecated.boolean
containsAll(java.util.Collection<?> c)
Deprecated.boolean
equals(java.lang.Object o)
Deprecated.int
hashCode()
Deprecated.boolean
isEmpty()
Deprecated.java.util.Iterator<E>
iterator()
Deprecated.boolean
remove(java.lang.Object o)
Deprecated.boolean
removeAll(java.util.Collection<?> c)
Deprecated.boolean
retainAll(java.util.Collection<?> c)
Deprecated.int
size()
Deprecated.java.lang.Object[]
toArray()
Deprecated.<T> T[]
toArray(T[] a)
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
add
public boolean add(E e)
Deprecated.
-
clear
public void clear()
Deprecated.
-
contains
public boolean contains(java.lang.Object o)
Deprecated.
-
containsAll
public boolean containsAll(java.util.Collection<?> c)
Deprecated.
-
equals
public boolean equals(java.lang.Object o)
Deprecated.
-
hashCode
public int hashCode()
Deprecated.
-
isEmpty
public boolean isEmpty()
Deprecated.
-
iterator
public java.util.Iterator<E> iterator()
Deprecated.
-
remove
public boolean remove(java.lang.Object o)
Deprecated.
-
removeAll
public boolean removeAll(java.util.Collection<?> c)
Deprecated.
-
retainAll
public boolean retainAll(java.util.Collection<?> c)
Deprecated.
-
size
public int size()
Deprecated.
-
toArray
public java.lang.Object[] toArray()
Deprecated.
-
toArray
public <T> T[] toArray(T[] a)
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.util.AbstractCollection<E>
-
-