?? blockcells.java
字號:
package cells;import java.util.List;import entity.AbstractCells;import entity.Point;import entity.Value;public class BlockCells extends AbstractCells { public BlockCells(Point begin, Point end, List<Value> policyOringinalValue) { super(begin, end, policyOringinalValue); } protected boolean initCondition(Point point) { boolean result = false; int yindexBegin = this.getBegin().getYIndex(); int yindexEnd = this.getEnd().getYIndex(); int xindexBegin = this.getBegin().getXIndex(); int xindexEnd = this.getEnd().getXIndex(); if ((point.getYIndex() >= yindexBegin) && (point.getYIndex() <= yindexEnd)) { if ((point.getXIndex() >= xindexBegin) && (point.getXIndex() <= xindexEnd)) { result = true; } } return result; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -