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
Use streams:
someCollection.stream().collect(Collectors.toList())