| java.lang.Object | |
| ↳ | org.mule.modules.salesforce.ListUtils |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Splits a list into smaller sublists.
| |||||||||||
Splits a list into smaller sublists.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Splits a list into smaller sublists. The original list remains unmodified and changes on the sublists are not propagated to the original list.
| original | The list to split |
|---|---|
| maxListSize | The max amount of element a sublist can hold. |
| listImplementation | The implementation of List to be used to create the returned sublists |
| IllegalArgumentException | if the argument maxListSize is zero or a negative number |
|---|---|
| NullPointerException | if arguments original or listImplementation are null |
Splits a list into smaller sublists. The sublists are of type ArrayList. The original list remains unmodified and changes on the sublists are not propagated to the original list.
| original | The list to split |
|---|---|
| maxListSize | The max amount of element a sublist can hold. |