Class HashMultiset<E>
java.lang.Object
java.util.AbstractCollection<E>
net.sourceforge.plantuml.quantization.HashMultiset<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Multiset<E>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
HashMultiset
public HashMultiset() -
HashMultiset
-
-
Method Details
-
add
Description copied from interface:MultisetAdd n counts of an element. -
add
- Specified by:
addin interfaceCollection<E>- Overrides:
addin classAbstractCollection<E>
-
remove
Description copied from interface:MultisetRemove up to n counts of an element. -
remove
- Specified by:
removein interfaceCollection<E>- Overrides:
removein classAbstractCollection<E>
-
iterator
- Specified by:
iteratorin interfaceCollection<E>- Specified by:
iteratorin interfaceIterable<E>- Specified by:
iteratorin classAbstractCollection<E>
-
size
public int size()- Specified by:
sizein interfaceCollection<E>- Specified by:
sizein classAbstractCollection<E>
-
count
-
getDistinctElements
- Specified by:
getDistinctElementsin interfaceMultiset<E>
-