T
- Element typepublic final class Repeated<T> extends IterableEnvelope<T>
If you need to repeat endlessly, use Endless
.
Constructor and Description |
---|
Repeated(int total,
Scalar<T> elm)
Ctor.
|
Repeated(int total,
T elm)
Ctor.
|
Repeated(int total,
UncheckedScalar<T> item)
Ctor.
|
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Repeated(int total, T elm)
total
- The total number of repetitionselm
- The element to repeatpublic Repeated(int total, Scalar<T> elm)
total
- The total number of repetitionselm
- The element to repeatpublic Repeated(int total, UncheckedScalar<T> item)
total
- The total number of repetitionsitem
- The element to repeatCopyright © 2017–2018 Cactoos. All rights reserved.