Class WeakConcurrentSet<T>

java.lang.Object
net.engio.mbassy.common.AbstractConcurrentSet<T>
net.engio.mbassy.common.WeakConcurrentSet<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>, Set<T>

public class WeakConcurrentSet<T> extends AbstractConcurrentSet<T>
This implementation uses weak references to the elements. Iterators automatically perform cleanups of garbage collected objects during iteration -> no dedicated maintenance operations need to be called or run in background.