Package com.mewna.catnip.util.pagination
Interface PaginationCallback<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 10/10/18
- Author:
- natanbc
-
Method Summary
-
Method Details
-
accept
Accepts a fetched entity. Pagination stops if this method returns false.- Parameters:
entity
- Entity fetched.- Returns:
- True, if more entities should be paginated.
-