Package com.logicaldoc.util
Class CollectionUtil
java.lang.Object
com.logicaldoc.util.CollectionUtil
Some utility methods to handle collections.
- Since:
- 8.2.1
- Author:
- Marco Meschieri - LogicalDOC
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> Collection<List<T>> Divide a list to segments of n size
- 
Method Details- 
partitionDivide a list to segments of n size- Type Parameters:
- T- the type of elements in- list
- Parameters:
- list- the collection to process
- size- number of elements in each segment
- Returns:
- the collection of segments
 
 
-