Get minvalue of a Map(Key,Double)

Posted by chris-gr on Stack Overflow See other posts from Stack Overflow or by chris-gr
Published on 2010-05-05T19:28:45Z Indexed on 2010/05/05 19:38 UTC
Read the original article Hit count: 112

Filed under:
|

Hi all, is there a method (maybe with Google Collections) to obtain the min value of a Map(Key, Double)

In traditional way, I would have to sort the map according to the values, and take the first/last one. thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about google-collections