Package org.spockframework.util
Class HashMultiset<E>
- java.lang.Object
-
- org.spockframework.util.AbstractMultiset<E>
-
- org.spockframework.util.HashMultiset<E>
-
- Type Parameters:
E
- the element type of the multiset
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,IMultiset<E>
public class HashMultiset<E> extends AbstractMultiset<E>
HashMap based implementation of IMultiset. Iteration order is not guaranteed.
-
-
Constructor Summary
Constructors Constructor Description HashMultiset()
HashMultiset(java.util.Collection<? extends E> collection)
-
Method Summary
-
Methods inherited from class org.spockframework.util.AbstractMultiset
add, addAll, clear, contains, containsAll, count, entrySet, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
HashMultiset
public HashMultiset()
-
HashMultiset
public HashMultiset(java.util.Collection<? extends E> collection)
-
-