Package org.optaplanner.core.impl.util
Class CollectionUtils
java.lang.Object
org.optaplanner.core.impl.util.CollectionUtils
-
Method Summary
-
Method Details
-
copy
Creates a copy of the list, optionally in reverse order.- Type Parameters:
E
- the type of elements in the list- Parameters:
originalList
- the list to copy, preferablyArrayList
reverse
- true if the resulting list should have its order reversed- Returns:
- mutable list, never null
-
concat
-