cursor

fun <T> Iterable<T>.cursor(): Cursor<out T>

Returns a lazy Cursor traversing the elements of this Iterable, in iteration order.


fun <T> Sequence<T>.cursor(): Cursor<out T>

Returns a lazy Cursor traversing the elements of this Sequence, in iteration order.


fun <T> Array<T>.cursor(): Cursor<out T>

Returns a lazy Cursor traversing the elements of this Array, in index order.


fun <T> Collection<T>.cursor(): Cursor<out T>

Returns a lazy Cursor traversing the elements of this Collection, in iteration order.