I have an array list.I'd like to break the same into sub-list of fixed size.for example -
If my list size is 100.I want to have 30 elements in one list.So basically I'd like to create 4 sub-lists.What is the most optimized way to achieve this...I looked on the internet but most suggestions led to breaking an array list into subsists which didn't have an fixed size.any leads.pointers highly appreciated. Most Preferably,I'd like to have a service/method that does the job