Package com.google.code.yanf4j.util
Class ConcurrentHashSet<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- com.google.code.yanf4j.util.MapBackedSet<E>
-
- com.google.code.yanf4j.util.ConcurrentHashSet<E>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.Set<E>
public class ConcurrentHashSet<E> extends MapBackedSet<E>
AConcurrentHashMap-backedSet.- Version:
- $Rev: 597692 $, $Date: 2007-11-23 08:56:32 -0700 (Fri, 23 Nov 2007) $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID-
Fields inherited from class com.google.code.yanf4j.util.MapBackedSet
map
-
-
Constructor Summary
Constructors Constructor Description ConcurrentHashSet()ConcurrentHashSet(java.util.Collection<E> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(E o)-
Methods inherited from class com.google.code.yanf4j.util.MapBackedSet
clear, contains, iterator, remove, size
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConcurrentHashSet
public ConcurrentHashSet()
-
ConcurrentHashSet
public ConcurrentHashSet(java.util.Collection<E> c)
-
-