limit

open override fun limit(count: Int): SizedIterable<T>

Returns a new SizedIterable containing only count elements.


open override fun limit(n: Int, offset: Long): SizedIterable<T>

Deprecated

This function will be removed in future releases.

Replace with

limit(n).offset(offset)