public class

ConcurrentHashSet

extends Object
implements Set<E>
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.collect.ConcurrentHashSet<E>
Known Direct Subclasses

Class Overview

The set version of a ConcurrentHashMap. Concurrency friendly.

Summary

Public Constructors
ConcurrentHashSet()
ConcurrentHashSet(int expectedMaxSize)
ConcurrentHashSet(Collection<? extends E> c)
Public Methods
boolean add(E e)
boolean addAll(Collection<? extends E> c)
void clear()
boolean contains(Object o)
boolean containsAll(Collection<?> c)
boolean equals(Object o)
int hashCode()
boolean isEmpty()
Iterator<E> iterator()
boolean remove(Object o)
boolean removeAll(Collection<?> c)
boolean retainAll(Collection<?> c)
int size()
<T> T[] toArray(T[] a)
Object[] toArray()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Set

Public Constructors

public ConcurrentHashSet ()

public ConcurrentHashSet (int expectedMaxSize)

public ConcurrentHashSet (Collection<? extends E> c)

Public Methods

public boolean add (E e)

public boolean addAll (Collection<? extends E> c)

public void clear ()

public boolean contains (Object o)

public boolean containsAll (Collection<?> c)

public boolean equals (Object o)

public int hashCode ()

public boolean isEmpty ()

public Iterator<E> iterator ()

public boolean remove (Object o)

public boolean removeAll (Collection<?> c)

public boolean retainAll (Collection<?> c)

public int size ()

public T[] toArray (T[] a)

public Object[] toArray ()

public String toString ()