Testing highlighters

TreeMap<Integer,String> tmap = new TreeMap<Integer, String>();
tmap.put(3, "Three");
tmap.put(1, "One");
tmap.put(2, "Two");

/*
* This will copy all the mappings of the TreeMap to HashMap object
*/
HashMap<Integer,String> hmap = new HashMap<Integer,String>(tmap);
System.out.println(hmap);

4 posts were merged into an existing topic: Testing admin creating other topics