So I have this variable long hashvalue and I want to add digits to it if something is true.
I have this array int arr[3][3] with the numbers -1, 1, 0, 0, -1, 1, 0, 0, -1 in it
I need something like this:
if(array[i][j] == -1){ //add digit 2 to hashvalue } else if(array[i][j] == 1){ //add digit 1 to hashvalue } else if(array[i][j] == 0){ //add digit 0 to hashvalue } hashvalue = 210021002