T
- Element typepublic final class EndlessIterator<T> extends Object implements Iterator<T>
If you need to repeat certain amount of time,
use RepeatIterator
.
Constructor and Description |
---|
EndlessIterator(T elm)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
Copyright © 2017 Cactoos. All rights reserved.