T
- the type of the entityC
- represents the type of cursor location to be used for pagination. See PageRequest.getCursor()
public class Page<T,C> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Page.Builder<T,C> |
Modifier and Type | Method and Description |
---|---|
static <T,C> Page<T,C> |
emptyPage() |
boolean |
equals(Object o) |
boolean |
getIsLastPage() |
Optional<PageRequest<C>> |
getNextPageRequest() |
int |
getSize() |
List<T> |
getValues() |
int |
hashCode() |
public boolean getIsLastPage()
true
if there are no more results; otherwise, false
if at least one more page,
perhaps partially filled but not empty, of results is available@Nonnull public Optional<PageRequest<C>> getNextPageRequest()
public int getSize()
public static <T,C> Page<T,C> emptyPage()
Copyright © 2020 Atlassian. All rights reserved.