sublist abstract method

GpsPointsView<T> sublist(
  1. int start, [
  2. int? end
])

Returns a new collection of the same type as the current collection containing the elements between start and end.

If end is omitted, it defaults to the length of this collection.

The start and end positions must satisfy the relations 0 ≤ startendlength. If end is equal to start, then the returned list is empty.

Implementation

GpsPointsView<T> sublist(int start, [int? end]);