/** * Does this connection have a next page of data? * * @return {@code true} if there is a next page of data for this connection, {@code false} * otherwise. */ public boolean hasNext() { return !StringUtils.isBlank(getNext()); }
/** * Does this connection have a previous page of data? * * @return {@code true} if there is a previous page of data for this connection, {@code false} * otherwise. */ public boolean hasPrevious() { return !StringUtils.isBlank(getPrevious()); }