code: public Object[] toArray() {
          ArrayList<D> l = new ArrayList<D>();
  
          for (S o : wrapped) {
              l.add(xform.transform(o, clazz));
          }
          return l.toArray();
      }
docs: Convert array from D type to type which set by {@code dClass} parameter.
  
  @return array with type {@code dClass}.