public abstract class AbstractPaginatedData<T> extends java.lang.Object implements PaginatedData<T>
| Constructor and Description |
|---|
AbstractPaginatedData(boolean hasPreviousPage,
boolean hasNextPage,
java.lang.Iterable<T> data) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNextPage()
Whether or not this is the last page
|
boolean |
hasPreviousPage()
Whether or not this is the first page
|
java.util.Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCursorpublic AbstractPaginatedData(boolean hasPreviousPage,
boolean hasNextPage,
java.lang.Iterable<T> data)
public boolean hasNextPage()
PaginatedDatahasNextPage in interface PaginatedData<T>public boolean hasPreviousPage()
PaginatedDatahasPreviousPage in interface PaginatedData<T>