Package eu.bandm.tools.util.multi
Interface SortedMultimap<A,B>
- Type Parameters:
A
- type of the domain elementsB
- 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>>
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 Summary
Modifier and TypeMethodDescriptionComparator
<? super A> Deliver the comparator on the domain elements.Comparator
<? super B> Deliver the comparator on the range elements.Methods inherited from interface java.util.function.BiPredicate
and, negate, or
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface eu.bandm.tools.util.multi.Multimap
add, addAll, contains, containsAll, containsUnchecked, domain, image, imageAll, imageAllUnchecked, imageMap, imageUnchecked, preimage, preimageAll, preimageAllUnchecked, preimageMap, preimageUnchecked, range, remove, removeAll, removeAllDomain, removeAllDomainUnchecked, removeAllRange, removeAllRangeUnchecked, removeDomain, removeDomainUnchecked, removeRange, removeRangeUnchecked, removeUnchecked, retainAll, retainAllDomain, retainAllDomainUnchecked, retainAllRange, retainAllRangeUnchecked, test, toArray, toArray
Methods inherited from interface java.util.Set
add, clear, contains, equals, hashCode, isEmpty, iterator, remove, size
Methods inherited from interface java.util.SortedSet
addFirst, addLast, comparator, first, getFirst, getLast, headSet, last, removeFirst, removeLast, reversed, spliterator, subSet, tailSet
-
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.
-