normalsquare.java
来自「基于Java的五子棋的源代码」· Java 代码 · 共 28 行
JAVA
28 行
package net.sourceforge.gomoku;/** * @author <a href="mailto:anton.safonov@gmail.com">Anton Safonov</a> */public final class NormalSquare extends Square { private byte row; private byte col; NormalSquare(final int row, final int col) { setRowCol(row, col); } public int getRow() { return this.row; } public int getCol() { return this.col; } public void setRowCol(final int row, final int col) { this.row = (byte) row; this.col = (byte) col; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?