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 voidadd(T t)voidclear()java.util.Iterator<T>iterator()voidremove(T t)
-