Interface SortedMultiset<A>

All Superinterfaces:
Iterable<A>, Multiset<A>, Serializable
All Known Implementing Classes:
TreeMultiset

public interface SortedMultiset<A> extends Multiset<A>
  • Method Details

    • comparator

      Comparator<? super A> comparator()
    • domain

      SortedSet<A> domain()
      Description copied from interface: Multiset
      domain().equals(supportMap().keySet())
      Specified by:
      domain in interface Multiset<A>
    • supportMap

      SortedMap<A,Integer> supportMap()
      Description copied from interface: Multiset
      ATTENTION assume no Map.Entry.getValue()==0 is in map, but domain key is removed in case that count == 0.
      Specified by:
      supportMap in interface Multiset<A>