minor change
This commit is contained in:
parent
6e71cd302c
commit
e0172002d5
|
@ -63,8 +63,8 @@ public class SortHashMap {
|
|||
}
|
||||
|
||||
private static void treeSetByKey() {
|
||||
SortedSet<String> keys = new TreeSet<>(map.keySet());
|
||||
System.out.println(keys);
|
||||
SortedSet<String> keysSet = new TreeSet<>(map.keySet());
|
||||
System.out.println(keysSet);
|
||||
}
|
||||
|
||||
private static void treeMapSortByKey() {
|
||||
|
|
Loading…
Reference in New Issue