Class 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 Detail

      • HashMultiset

        public HashMultiset()
      • HashMultiset

        public HashMultiset​(java.util.Collection<? extends E> collection)