Class Multiset<T>

java.lang.Object
java.util.AbstractCollection<T>
org.apache.lucene.search.Multiset<T>
All Implemented Interfaces:
Iterable<T>, Collection<T>

public final class Multiset<T> extends AbstractCollection<T>
A Multiset is a set that allows for duplicate elements. Two Multisets are equal if they contain the same unique elements and if each unique element has as many occurrences in both multisets. Iteration order is not specified.