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:
Iterable<E>, 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 Details

    • LinkedHashMultiset

      public LinkedHashMultiset()
    • LinkedHashMultiset

      public LinkedHashMultiset(Collection<? extends E> collection)