Pagination
You can easily make list or map pagination
Code (Java):
Pagination
<T
> pagination
=
new Pagination
<T
>
(
)
;
Code (Java):
List
<T
> list
= pagination.
paginate
(List
<T
> list,
int size,
int page
)
List
<T
> list
= pagination.
paginate
(Map
<?, T
> map,
int size,
int page
)
Code (Java):
List
<T
> list
= pagination.
paginateReverse
(List
<T
> list,
int size,
int page
)
List
<T
> list
= pagination.
paginateReverse
(Map
<?, T
> map,
int size,
int page
)