I am relatively new to processing. I want to store data in the format. <key> <value1, value2> so basically the value in the hashmap is an arrayList instead of a single value. I used this
HashMap<String, ArrayList> building_drawn = new HashMap<String, Arraylist>();
And I am getting error as "Cannot find a class or type named HashMap<String, ArrayList>".
How can such a data structure be created in processing ?
HashMap<String, ArrayList> building_drawn = new HashMap<String, Arraylist>();
And I am getting error as "Cannot find a class or type named HashMap<String, ArrayList>".
How can such a data structure be created in processing ?
1