org.jboss.messaging.util
Class ConcurrentReaderHashSet<Key>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<Key>
          extended by org.jboss.messaging.util.AbstractHashSet<Key>
              extended by org.jboss.messaging.util.ConcurrentReaderHashSet<Key>
All Implemented Interfaces:
java.lang.Iterable<Key>, java.util.Collection<Key>, java.util.Set<Key>

public class ConcurrentReaderHashSet<Key>
extends AbstractHashSet<Key>

A ConcurrentReaderHashSet. Offers same concurrency as ConcurrentHashMap but for a Set

Version:
$Revision: 3092 $ $Id: ConcurrentReaderHashSet.java 3092 2007-09-10 21:42:30Z clebert.suconic@jboss.com $
Author:
Tim Fox, Clebert Suconic

Constructor Summary
ConcurrentReaderHashSet()
           
 
Method Summary
protected  java.util.Map buildInternalHashMap()
           
 
Methods inherited from class org.jboss.messaging.util.AbstractHashSet
add, clear, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, retainAll, toArray, toArray
 

Constructor Detail

ConcurrentReaderHashSet

public ConcurrentReaderHashSet()
Method Detail

buildInternalHashMap

protected java.util.Map buildInternalHashMap()
Specified by:
buildInternalHashMap in class AbstractHashSet<Key>


Copyright © 2006 JBoss Inc. All Rights Reserved.