Package org.cactoos.iterator
Class RangeOf<T extends Comparable<T>>
- java.lang.Object
-
- org.cactoos.iterator.RangeOf<T>
-
- Type Parameters:
T
- Range value type
- All Implemented Interfaces:
Iterator<T>
public final class RangeOf<T extends Comparable<T>> extends Object implements Iterator<T>
Iterator implementation to model range functionality.- Since:
- 0.50
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-