code: public <T> T[] convert(Object[] datas, Class<T> clazz) {
      if (null == datas) { return null; }
      @SuppressWarnings("unchecked")
      T[] newDatas = (T[]) Array.newInstance(clazz, datas.length);
      for (int i = 0; i < datas.length; i++) {
        newDatas[i] = convert(datas[i], clazz);
      }
      return newDatas;
    }
docs: <p>
  convert.
  </p>
  
  @param datas an array of {@link java.lang.Object} objects.
  @param clazz a {@link java.lang.Class} object.
  @param <T> a T object.
  @return an array of T objects.