Cond<T>[] toArray(boolean inverse) {
      //noinspection unchecked
      Cond<T>[] result = new Cond[length];
      Cond<T> cur = this;
      for (int i = 0; i < length; i++, cur = cur.next) result[inverse ? length - i - 1 : i] = cur;
      return result;
    }
Cond<T>[] toArray(boolean inverse)