kotlin.collections.Sequence.kt Maven / Gradle / Ivy
package kotlin
/**
* A sequence that returns values through its iterator. The values are evaluated lazily, and the sequence
* is potentially infinite.
*
* @param T the type of elements in the sequence.
*/
public interface Sequence {
/**
* Returns an iterator that returns the values from the sequence.
*/
public operator fun iterator(): Iterator
}