public class Page<T>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Page.Builder<T> |
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
static <T> Page<T> |
empty() |
int |
getLimit() |
PageRequest |
getNextPageRequest() |
int |
getSize() |
int |
getStart() |
java.lang.Iterable<T> |
getValues() |
boolean |
isLastPage() |
<U> Page<U> |
transform(com.google.common.base.Function<T,U> transformFunction) |
public int getStart()
public int getLimit()
public boolean isLastPage()
public int getSize()
public java.lang.Iterable<T> getValues()
@Nonnull public <U> Page<U> transform(com.google.common.base.Function<T,U> transformFunction)
public static <T> Page<T> empty()
public PageRequest getNextPageRequest()