public class PagingUtility<T extends java.lang.Comparable<? super T>>
extends java.lang.Object
Constructor and Description |
---|
PagingUtility() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Page<T> |
getPagedData(org.springframework.data.domain.Pageable pageable,
java.util.List<T> list)
Get the paged data of the given list.
|
public org.springframework.data.domain.Page<T> getPagedData(org.springframework.data.domain.Pageable pageable, java.util.List<T> list)
pageable
- the paging informationlist
- the list of content to paginate