i want to create a set of maps with dynamic names in java according to the size of arraylist. this is the code
for (int i = 0; i <array.size(); i++) {
String name = "a_"+i;
Map<Point, Double> name = new HashMap <Point, Double>();
}
in the above code i want to create a number of maps according to the size of array. i need the map name to be like a_0, a_1, a_2 .... so i can retrieve them and assign values to them later