Class SynchronizedSortedMultiSet<E>

Type Parameters:
E - The type held in the multiset.
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, MultiSet<E>, SortedMultiSet<E>

public class SynchronizedSortedMultiSet<E> extends SynchronizedMultiSet<E> implements SortedMultiSet<E>
Decorates another SortedMultiSet to synchronize its behavior for a multithreaded environment.

Methods are synchronized, then forwarded to the decorated multiset. Iterators must be separately synchronized around the loop.

Since:
4.6.0
See Also: