Anonymous
public java v1 · immutable public class CellBlockIterator extends BasicCellIterator { private int blockRowCount = -1; public CellBlockIterator(int period, int group) { int[] block = {period, group}; this(block); } public CellBlockIterator(int[] block) { i = (int) block[0] * gridDim + block[1] * gridDim * blockDim; last = i + gridDim * blockDim; setup(i, last, 1); // this is from the parent to overcome the same problem } // ...