0
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
354 B
Java

package reactivestreams;
public class RowChecker extends DigitBlockChecker {
int row;
public RowChecker(int row) {
this.row = row;
}
@Override
protected boolean currentDigitApplies(int currentRow, int currentColumn) {
return currentRow == row;
}
@Override
public String toString() {
return getClass().getSimpleName() + " " + row;
}
}