Package generic.concurrent
Class ConcurrentListenerSet<T>
- java.lang.Object
-
- generic.concurrent.ConcurrentListenerSet<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
public class ConcurrentListenerSet<T> extends java.lang.Object implements java.lang.Iterable<T>
A listener set that is weakly consistent. This allows for iteration of the set while other threads modify the set.
-
-
Constructor Summary
Constructors Constructor Description ConcurrentListenerSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T t)
java.util.List<T>
asList()
void
clear()
java.util.Iterator<T>
iterator()
void
remove(T t)
-