@Override
  public int getNext(int index, int no) {
    switch (no) {
      case 0: return offset;
      case 1: return index + 1;
      default:
        LOG.assertTrue(false);
        return -1;
    }
  }
@Override
  public int getNext(int index, int no)