org.jboss.messaging.core.util
Class ConcurrentReaderHashSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
org.jboss.messaging.core.util.ConcurrentReaderHashSet
- All Implemented Interfaces:
- java.util.Collection, java.util.Set
- public class ConcurrentReaderHashSet
- extends java.util.AbstractSet
A ConcurrentReaderHashSet.
Offers same concurrency as ConcurrentHashMap but for a Set
- Version:
- 1.1
ConcurrentReaderHashSet.java,v 1.1 2006/04/20 20:42:27 timfox Exp
- Author:
- Tim Fox
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 |
ConcurrentReaderHashSet
public ConcurrentReaderHashSet()
size
public int size()
iterator
public java.util.Iterator iterator()
isEmpty
public boolean isEmpty()
add
public boolean add(java.lang.Object o)
contains
public boolean contains(java.lang.Object o)
clear
public void clear()
remove
public boolean remove(java.lang.Object o)
Copyright © 2006 JBoss Inc. All Rights Reserved.