Package org.rspeer.commons
Class Multiset<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
java.util.HashSet<E>
org.rspeer.commons.Multiset<E>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,Set<E>
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.HashSet
clone, contains, isEmpty, iterator, size, spliterator, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toString
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
Multiset
public Multiset() -
Multiset
-
-
Method Details
-
add
-
entries
-
addAll
- Specified by:
addAll
in interfaceCollection<E>
- Specified by:
addAll
in interfaceSet<E>
- Overrides:
addAll
in classAbstractCollection<E>
-
remove
-
clear
public void clear() -
count
-
uniqueCount
public int uniqueCount() -
maximum
-
minimum
-