code: public static <T> T boxAllAs(Object src, int srcPos, int len, Class<T> type) {
          return (T) boxAll(type, src, srcPos, len);
      }
docs: Transforms a primitive array into an array of boxed values.
  @param <T>
  @param src source array
  @param srcPos start position
  @param len length
  @param type target type
  @return array