I am using TreeBidiMap from the Apache Collections library. I want to sort this on the values which are doubles.
TreeBidiMap
doubles
My method is to retrieve a
Here is a sub-optimal solution as a one-liner:
Collections.list(Collections.enumeration(coll));