kactoos-jvm / nnl.rocks.kactoos.iterator / Repeated / <init>
Repeated(max:
Int
, element:
T
)
Repeated(repeat:
Int
, element:
KScalar
<
T
>)
Repeat an element.
If you need to repeat endlessly, use Endless.
T
- Element type
repeat
- How many times to repeat
element
- Element to repeat
Since 0.3