Esempio n. 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());
 }
Esempio n. 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());
 }