In Spring, what is the simplest way to convert a `...
# spring
d
In Spring, what is the simplest way to convert a
List
to a
Page
using
Pageable
? My understand of
PageImpl(List<T> content, Pageable pageable, long total)
is that it does not slice up the list content as was requested in
Pageable
. It also does not apply the
Pageable.sort
to the content list.
t
interesting, I am soon to have just the same problem. what a small world