minor change

This commit is contained in:
mherbaghinyan 2018-09-13 01:14:09 +04:00
parent 6e71cd302c
commit e0172002d5
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ public class SortHashMap {
} }
private static void treeSetByKey() { private static void treeSetByKey() {
SortedSet<String> keys = new TreeSet<>(map.keySet()); SortedSet<String> keysSet = new TreeSet<>(map.keySet());
System.out.println(keys); System.out.println(keysSet);
} }
private static void treeMapSortByKey() { private static void treeMapSortByKey() {