public static <R> PageResult<R> of(List<R> list, int total) {
    return new PageResult<>(list, total);
  }
x.

@param list the results have been intercepted
@param total original size
@return response contains paging information response
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/response/PageResult.java