CursorList

constructor(list: List<E> = emptyList(), index: Int = -1)

Parameters

list

the content of the CursorList

index

the index of the element that will initially be considered as the last returned element. May be -1 or the size of the list as well.