Java Best Tutorial
http://www.java2novice.com/
Set uniqueSet = new HashSet(list);
System.out.println("\nSorted Map");
Map treeMap = new TreeMap(map);
public static void printMap(Map map){
for (Map.Entry entry : map.entrySet()) {
System.out.println("Key : " + entry.getKey() + " Value : "
+ entry.getValue());
}
}
Set
System.out.println("\nSorted Map");
Map
public static void printMap(Map
for (Map.Entry
System.out.println("Key : " + entry.getKey() + " Value : "
+ entry.getValue());
}
}
Comments
Post a Comment