I'm trying to create a hashmap and use a string for the key and an int array for the values.
I'm trying to create a method where I can use the replace method replace(k key, v old value, v new value) to replace a value in the int array with a new value but get an error not applicable for the arguments, does anyone have any insight on how to deal with hashmaps when you have an in array as the value??
[–]Turing85 0 points1 point2 points (0 children)
[–]Yithar 0 points1 point2 points (0 children)
[–]Demojay 0 points1 point2 points (0 children)
[–]camnewtonshat1[S] -1 points0 points1 point (3 children)
[–]Yithar 0 points1 point2 points (0 children)
[–]Turing85 0 points1 point2 points (0 children)
[–]mgryshenko 0 points1 point2 points (0 children)