org.apache.mina.util
Class ConcurrentHashSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
org.apache.mina.util.MapBackedSet<E>
org.apache.mina.util.ConcurrentHashSet<E>
- All Implemented Interfaces:
- Serializable, Iterable<E>, Collection<E>, Set<E>
public class ConcurrentHashSet<E>
- extends MapBackedSet<E>
A ConcurrentHashMap
-backed Set
.
- Version:
- $Rev: 597692 $, $Date: 2007-11-23 16:56:32 +0100 (ven, 23 nov 2007) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
- See Also:
- Serialized Form
Method Summary |
boolean |
add(E o)
|
ConcurrentHashSet
public ConcurrentHashSet()
ConcurrentHashSet
public ConcurrentHashSet(Collection<E> c)
add
public boolean add(E o)
- Specified by:
add
in interface Collection<E>
- Specified by:
add
in interface Set<E>
- Overrides:
add
in class MapBackedSet<E>
Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.