Top Description Classes
[default module]

Package org.apache.commons.collections4.multiset


This package contains implementations of the MultiSet interface. A multiset stores an object and a count of the number of occurrences of the object.

The following implementations are provided in the package:

The following decorators are provided in the package:

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractMapMultiSet<
the type held in the multiset
E
>

Abstract implementation of the MultiSet interface to simplify the creation of subclass implementations.

public abstract class
AbstractMultiSet<
the type held in the multiset
E
>

Abstract implementation of the MultiSet interface to simplify the creation of subclass implementations.

public abstract class
AbstractMultiSetDecorator<
the type held in the multiset
E
>

Decorates another MultSet to provide additional behaviour.

public class
HashMultiSet<
the type held in the multiset
E
>

Implements MultiSet, using a HashMap to provide the data storage.

public class
PredicatedMultiSet<
the type held in the multiset
E
>

Decorates another MultiSet to validate that additions match a specified predicate.

public class
SynchronizedMultiSet<
the type held in the multiset
E
>

Decorates another MultiSet to synchronize its behaviour for a multi-threaded environment.

public class
UnmodifiableMultiSet<
the type held in the multiset
E
>

Decorates another MultiSet to ensure it can't be altered.