Comparator

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Jul 15 10:30:20 PDT 2013


On 15/07/13 18:17, Marc Petit-Huguenin wrote:
> Yes, "Map.Entry.comparingByValue()" works, but
> "Map.Entry.comparingByValue().reverse()" does not, so I changed it to
> ".sorted(Map.Entry.<String, Integer>comparingByValue().reversed())"
Yep - that's also to be expected and something that is currently under 
discussion.

Thanks
Maurizio


More information about the lambda-dev mailing list