Is there any Java library with TreeMap-like data structure which also supports all of these:
- lookup by value (like Guava's BiMap)
- possibility of non-unique keys as well as non unique values (like Guava's Multimap)
- keeps track of sorted values as well as sorted keys
If it exists, it would probaby be called SortedBiTreeMultimap, or similar :)
This can be produced using a few data structures together, but I never took time to unite them in one nice class, so I was wondering if someone else has done it already.