Class MapPBag<E>

Type Parameters:
E -
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, PBag<E>, PCollection<E>

public final class MapPBag<E> extends AbstractUnmodifiableCollection<E> implements PBag<E>, Serializable
A map-backed persistent bag.

If the backing map is thread-safe, then this implementation is thread-safe (assuming Java's AbstractCollection is thread-safe), although its iterators may not be.

See Also: