Google Guava has a SortedSetMultimap
. Wonderful. Now where is the immutable version? There exists an ImmutableSetMultimap
. But what about ImmutableSortedSetMultimap
? (Please don't reply with "Why do you want one?")
It won't actually implement SortedSetMultimap
, but ImmutableSetMultimap.Builder
has an orderValuesBy(Comparator)
method that you can use, which has the effect that the value collections are ImmutableSortedSet
s.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With