Map<int[], int[]> map = new HashMap<int[] ,int[]>();
I used an array with an int array as a key and an element like
map.get(int array)
So, the element associated with the key that matches the int array specified in the argument cannot be retrieved.
As a workaround,
http://futurismo.biz/archives/2837
As shown in, instead of using an array as a key, make Arrays.toString and have a key as a String.
Recommended Posts