Constructor and Description |
---|
Repeated(int max,
Scalar<? extends T> scalar)
Ctor.
|
Repeated(int max,
T element)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public Repeated(int max, T element)
max
- How many times to repeatelement
- Element to repeatCopyright © 2017–2022 Cactoos. All rights reserved.