T - type of the contained hits.public class JsonPage<T>
extends org.springframework.data.domain.PageImpl<T>
Page.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
JsonPage(List<T> content,
org.springframework.data.domain.Pageable pageable,
long total)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected <U> List<U> |
getConvertedContent(Function<? super T,? extends U> arg0) |
int |
getNumber() |
int |
getNumberOfElements() |
int |
getSize() |
org.springframework.data.domain.Sort |
getSort() |
int |
getTotalPages() |
boolean |
isEmpty() |
boolean |
isFirst() |
boolean |
isLast() |
equals, getTotalElements, hashCode, hasNext, map, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitand, filter, flatMap, get, of, of, of, streamforEach, spliteratorprivate static final long serialVersionUID
public boolean isFirst()
public boolean isLast()
public int getNumberOfElements()
public int getTotalPages()
public org.springframework.data.domain.Sort getSort()
public boolean isEmpty()
public int getNumber()
public int getSize()
Copyright © 2014–2019 devon4j-Team. All rights reserved.