Package org.apache.commons.collections4.multiset


package org.apache.commons.collections4.multiset
This package contains implementations of the MultiSet and SortedMultiSet interfaces. A multiset stores an object and a count of the number of occurrences of the object.

The following implementations are provided in the package:

  • HashMultiSet - implementation that uses a HashMap to store the data
  • TreeMultiSet - implementation that uses a TreeMap to store the data

The following decorators are provided in the package:

  • Predicated - ensures that only elements that are valid according to a predicate can be added
  • Synchronized - synchronizes method access for multi-threaded environments
  • Unmodifiable - ensures the multiset cannot be altered
Version:
$Id: package-info.java 1688308 2015-06-29 21:28:54Z tn $