slice


Description:

public abstract List<G>? slice (int start, int stop)

Returns a slice of this list.

Parameters:

start

zero-based index of the slice's first element

stop

zero-based index of the position after the end of the slice

Returns:

A list containing a slice of this list