All pastes #932623 Raw Edit

Anonymous

public java v1 · immutable
·published 2008-03-07 21:23 UTC
rendered paste body
    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        }        // ...