subList
Returns a sublist view [fromIndex, toIndex). The returned list is backed by this sequence, so changes affect both.
Return
a sublist view
Parameters
fromIndex
low endpoint (inclusive)
toIndex
high endpoint (exclusive)
Throws
if indices are out of range