Map<String, String> dictionary = new HashMap<String, String>(); dictionary.put("key", "value"); String value = dictionary.get("key");