Class LinkedHashMultiSet<T>

All Implemented Interfaces:
Iterable<T>, Collection<T>, MultiSet<T>, HTMLToString

public class LinkedHashMultiSet<T> extends HashMultiSet<T>
  • Constructor Details

    • LinkedHashMultiSet

      public LinkedHashMultiSet(Collection<? extends T> collection)
      Constructs a new multiset, such that all elements of the given collection are added as many times as they are returned by the iterator of that collection.
      Parameters:
      collection - Representing the objects that should be put in a multiset
    • LinkedHashMultiSet

      public LinkedHashMultiSet(T... collection)
      Constructs a new multiset, such that all elements of the given collection are added as many times as they are in the given array.
      Parameters:
      collection - Representing the objects that should be put in a multiset
    • LinkedHashMultiSet

      public LinkedHashMultiSet()
      Constructs a new, empty multiset, such that all elements of the given collection are added as many times as they are returned by the iterator of that collection.