Is there a method (maybe with Google Collections) to obtain the min value of a Map(Key, Double)?
Map(Key, Double)
In the traditional way, I would have to sort the map ac
I'd be inclined to use a Google Collections BiMap:
String minKey = HashBiMap.create(map).inverse().get(Collections.min(map.values()));
Or something like that (not tested).