Код: Выделить всё
Map map1 = new HashMap();
map1.put("t1", "val1");
map1.put("t2", "val2");
map1.put("t3", "val3");
Map map2 = new HashMap();
map2.put("t1", "str1");
map2.put("t2", "str2");
map2.put("t3", "str3");
Код: Выделить всё
t1 t2 t3
val1 val2 val3
str1 str2 str3
Подробнее здесь: https://stackoverflow.com/questions/739 ... -hash-maps