I have List of Object. I need to do pagination.
The input parameters are the maximum number object per Page and Page number.
For example input list = ("a", "b", "c", "d", "e", "f")
The maximum number per Page is 2
Page number is 2
Result = ("c", "d")
Are there any ready-made classes(libs) to do this? For example Apache project or so on.