Collections.List.subList()

Signature

Object subList ( Object list ,int fromIndex ,int toIndex )

Domain

ACTION

Description

Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.

Parameters

NameTypeDescription
listObjectThe List object
fromIndexintLow endpoint (inclusive) of the subList
toIndexintHigh endpoint (exclusive) of the subList

Returns

TypeDescription
ObjectA view of the specified range within this list

Cautions

none