예제 #1
0
 /**
  * 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());
 }
예제 #2
0
 /**
  * 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());
 }