📄 areacellposition .java
字号:
class AreaCellPosition {
int i ;
int j ;
AreaCellPosition(int small_row_index , int small_column_index ) {
this.i = small_row_index ;
this.j = small_column_index ;
}
AreaCellPosition(int small_index) {
this.i = small_index/3 ;
this.j = small_index%3 ;
}
int getIndex() {
return i*3+j ;
}
static AreaCellPosition getAreaCellPosition( int datasRow_index , int datasColumns_index ) {
return new AreaCellPosition( datasRow_index%3 , datasColumns_index%3 ) ;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -