@PublicApi public class DefaultPageInfo extends java.lang.Object implements PageInfo
| Constructor and Description |
|---|
DefaultPageInfo(ConnectionCursor startCursor,
ConnectionCursor endCursor,
boolean hasPreviousPage,
boolean hasNextPage) |
| Modifier and Type | Method and Description |
|---|---|
ConnectionCursor |
getEndCursor() |
ConnectionCursor |
getStartCursor() |
boolean |
isHasNextPage() |
boolean |
isHasPreviousPage() |
java.lang.String |
toString() |
public DefaultPageInfo(ConnectionCursor startCursor, ConnectionCursor endCursor, boolean hasPreviousPage, boolean hasNextPage)
public ConnectionCursor getStartCursor()
getStartCursor in interface PageInfopublic ConnectionCursor getEndCursor()
getEndCursor in interface PageInfopublic boolean isHasPreviousPage()
isHasPreviousPage in interface PageInfolast argument.public boolean isHasNextPage()
isHasNextPage in interface PageInfofirst argument.public java.lang.String toString()
toString in class java.lang.Object