kactoos-jvm / nnl.rocks.kactoos.iterable / Repeated / <init>
Repeated(total: Int, elm: T)Repeated(total: Int, item: KScalar<T>)
Repeat an element.
If you need to repeat endlessly, use Endless.
T - Element type
total - The total number of repetitions
item - The element to repeat
Since 0.1