Class WeakConcurrentSet<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>, java.util.Collection<T>, java.util.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.