@Override
    public @Nullable T parent() {
      if (cur == null) throw new NoSuchElementException();

      H p = cur.parent;
      return p == null ? null : p.node == null ? null : _transform(p.node);
    }
@Override
    public @Nullable T parent()