Interface SortedMultimap<A,B>

Type Parameters:
A - type of the domain elements
B - type of the range elements
All Superinterfaces:
BiPredicate<A,B>, Collection<Map.Entry<A,B>>, Iterable<Map.Entry<A,B>>, Multimap<A,B>, SequencedCollection<Map.Entry<A,B>>, SequencedSet<Map.Entry<A,B>>, Set<Map.Entry<A,B>>, SortedSet<Map.Entry<A,B>>

public interface SortedMultimap<A,B> extends Multimap<A,B>, SortedSet<Map.Entry<A,B>>
Multimap for both sides of which sorting orders / comparators are defined. Since Multimaps are (among others) sets of map-entries, these sets will be also sorted sets.
  • Method Details

    • domainComparator

      Comparator<? super A> domainComparator()
      Deliver the comparator on the domain elements.
      Returns:
      the comparator on the domain elements.
    • rangeComparator

      Comparator<? super B> rangeComparator()
      Deliver the comparator on the range elements.
      Returns:
      the comparator on the range elements.