×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Volodya Lipkin
Added: Feb 27, 2018 11:49 PM
Views: 2779
Tags: no tags
  1. .entrySet()
  2.       .stream()
  3.       .sorted((o1, o2) -> o1.getKey().compareTo(o2.getKey())).forEach(entry -> System.out.println(entry.getKey() + " " + entry.getValue()));
  4.