sublist()
Returns a new list containing the elements between start
and end
.
shuffle()
Shuffles the elements of this list randomly.
whereType()
Returns a lazy Iterable with all elements that have the specified type.
reduce()
Reduces a collection to a single value by iteratively combining elements of the collection using the provided function.
fold()
Reduces a collection to a single value by iteratively combining each element of the collection with an existing value.
firstWhere()
Returns the first element from the list when the given condition is satisfied.