Kactoos

kactoos-jvm / nnl.rocks.kactoos.iterable / Repeated / <init>

<init>

Repeated(total: Int, elm: T)Repeated(total: Int, item: KScalar<T>)

Repeat an element.

If you need to repeat endlessly, use Endless.

Parameters

T - Element type

total - The total number of repetitions

item - The element to repeat

Since 0.1