到目前为止我有这段代码,它打印了值,但我似乎想不出一种方法来获得位置..
public static ArrayList defineSeq(){
for(int i=0; i<sparseRix.length; i++){
for(int j=0; j<sparseRix.length; j++){
int value =sparseRix[i][j];
int postion // What do i do here to get the postion
System.out.println("Value is " +value +"position" is +position);
}
}
return arrayList;
}