Top Categories
HashMap in java is just a list of keys, on the left, that have values on the right. So for example, a = 3; b = 5; c = 1; can be stored inside of a hashmap like this: myHashMap.put("a", 3); myHashMap.put("b", 5); myHashMap.put("c", 1); a, b, c are the keys 3, 5,
HashMap in java is just a list of keys, on the left, that have values on the right. So for example, a = 3; b = 5; c = 1; can be stored inside of a hashmap like this: myHashMap.put("a", 3); myHashMap.put("b", 5); myHashMap.put("c", 1); a, b, c are the keys 3, 5, 1 are the values This HashMap Java code can be tricky at first... But SURELY you'll get it :) I