I have a hash map as below
HashMap map = new HashMap(); map.put(\"one\", \"1\"); map.put(\"two\", \"2\"); map.put
Use a map that preserves the insertion order of the key-value pairs: LinkedHashMap