Kactoos

kactoos-jvm / nnl.rocks.kactoos.iterable / Endless

Endless

class Endless<out T : Any> : IterableEnvelope<T>

Endless iterable.

If you need to repeat certain amount of time, use Repeated.

Parameters

T - Element type

item - Item to repeat

Since 0.4

Constructors

Name Summary
<init> Endless(item: T)
Endless iterable.

Inherited Functions

Name Summary
iterator open fun iterator(): Iterator<T>