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