All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kotlin.collections.Sequence.kt Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy