@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final ResultPage<?> that = (ResultPage<?>) o;
        return Objects.equals(values, that.values) &&
               Objects.equals(pageResponse, that.pageResponse);
    }
@return the first item or null if the list is empty
stroom-util-shared/src/main/java/stroom/util/shared/ResultPage.java