public ResultPage<T> build() {
        final PageResponse response = new PageResponse(pageRequest.getOffset(), values.size(), count, true);
        return new ResultPage<>(values, response);
    }
A page request constrained result page builder that will receive results and track the total results added.

@param <T>
stroom-core-client/src/main/java/stroom/query/client/presenter/ExactResultPageBuilder.java