void reset(int from, int to) { stackSize = 0; Arrays.fill(runEnds, 0); runEnds[0] = from; this.to = to; final int length = to - from; this.minRun = length <= THRESHOLD ? length : minRun(length); }
void reset(int from, int to) { stackSize = 0; Arrays.fill(runEnds, 0); runEnds[0] = from; this.to = to; final int length = to - from; this.minRun = length <= THRESHOLD ? length : minRun(length); }
void reset(int from, int to) { stackSize = 0; Arrays.fill(runEnds, 0); runEnds[0] = from; this.to = to; final int length = to - from; this.minRun = length <= THRESHOLD ? length : minRun(length); }
void reset(int from, int to) { stackSize = 0; Arrays.fill(runEnds, 0); runEnds[0] = from; this.to = to; final int length = to - from; this.minRun = length <= THRESHOLD ? length : minRun(length); }