Package com.jummania.model
Class PaginatedData<T>
java.lang.Object
com.jummania.model.PaginatedData<T>
- Type Parameters:
T
- the type of data items in the list
A generic class representing a paginated data set.
This class holds a list of data items and pagination information.
Created by Jummania on 8, May, 2025. Email: sharifuddinjumman@gmail.com Dhaka, Bangladesh.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPaginatedData
(List<T> data, Pagination pagination) Constructs a PaginatedData object with the specified data and pagination information. -
Method Summary
-
Field Details
-
data
-
pagination
-
-
Constructor Details
-
PaginatedData
Constructs a PaginatedData object with the specified data and pagination information.- Parameters:
data
- the list of data items for the current pagepagination
- the pagination information (e.g., current page, total pages)
-
-
Method Details