HashMap<String, Object> myHashMap = new HashMap<>(); // Add data to a hashmap myHashMap.put(myString, myObjekt);