I have a List of entities. How do I convert it to Page Object using Spring MVC 4 and Spring Data JPA?
List
Page
There is a Page implementation for that:
final Page page = new PageImpl<>(theListOfSomething);