Class LinkedHashMultiSet<T>
java.lang.Object
java.util.AbstractCollection<T>
org.processmining.framework.util.collection.AbstractMultiSet<T,Map<T,Integer>>
org.processmining.framework.util.collection.HashMultiSet<T>
org.processmining.framework.util.collection.LinkedHashMultiSet<T>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,MultiSet<T>
,HTMLToString
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.processmining.framework.util.HTMLToString
HTMLToString.HTMLCellRenderer
-
Field Summary
Fields inherited from class org.processmining.framework.util.collection.AbstractMultiSet
map, size
-
Constructor Summary
ConstructorDescriptionConstructs a new, empty multiset, such that all elements of the given collection are added as many times as they are returned by the iterator of that collection.LinkedHashMultiSet
(Collection<? extends T> collection) Constructs a new multiset, such that all elements of the given collection are added as many times as they are returned by the iterator of that collection.LinkedHashMultiSet
(T... collection) Constructs a new multiset, such that all elements of the given collection are added as many times as they are in the given array. -
Method Summary
Methods inherited from class org.processmining.framework.util.collection.AbstractMultiSet
add, add, addAll, baseSet, clear, contains, containsAll, containsAtLeast, equals, hashCode, isEmpty, isLessOrEqual, iterator, occurrences, remove, removeAll, removeAllMultiSet, retainAll, retainAll, size, toHTMLString, toList, toString
Methods inherited from class java.util.AbstractCollection
toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
LinkedHashMultiSet
Constructs a new multiset, such that all elements of the given collection are added as many times as they are returned by the iterator of that collection.- Parameters:
collection
- Representing the objects that should be put in a multiset
-
LinkedHashMultiSet
Constructs a new multiset, such that all elements of the given collection are added as many times as they are in the given array.- Parameters:
collection
- Representing the objects that should be put in a multiset
-
LinkedHashMultiSet
public LinkedHashMultiSet()Constructs a new, empty multiset, such that all elements of the given collection are added as many times as they are returned by the iterator of that collection.
-