subList

Returns a view of the portion of this mutable list within the specified range.

Return

a mutable sublist view of the list within the specified range.

Parameters

range

the range of indices defining the sublist, start index and end index are inclusive.