7071727374757677787980
System.out.println("\n---- " + prompt + " -----\n"); Map<String, Wall> test = new HashMap<String, Wall>(); for (int i = 0; i < 6; i++) { test.put("key-" + i, new Wall(i, i, i, i)); } System.out.println(test); try {
9596979899100101102103104105
System.out.println("\n---- " + prompt + " -----\n"); Map<String, Wall> test = new ConcurrentHashMap<String, Wall>(); for (int i = 0; i < 6; i++) { test.put("key-" + i, new Wall(i, i, i, i)); } System.out.println(test); try {