I try to find the find key having the hightest value in a HashMap < String,Double > using lambdaj.
I guess selectMax() will help, but I don’t know how to use it in this case.
I try to find the find key having the hightest value in a HashMap
Share
I’ve downloaded lambdaj and gave it a try. Here you go
prints out
[2s3.5=3.5, s3.5=3.5]