Package org.spockframework.util
Class LinkedHashMultiset<E>
- java.lang.Object
-
- org.spockframework.util.AbstractMultiset<E>
-
- org.spockframework.util.LinkedHashMultiset<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 LinkedHashMultiset<E> extends AbstractMultiset<E>
LinkedHashMap based implementation of IMultiset. Iteration order follows order of first insertion of an element.
-
-
Constructor Summary
Constructors Constructor Description LinkedHashMultiset()
LinkedHashMultiset(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
-
LinkedHashMultiset
public LinkedHashMultiset()
-
LinkedHashMultiset
public LinkedHashMultiset(java.util.Collection<? extends E> collection)
-
-