Kactoos

kactoos-jvm / nnl.rocks.kactoos.iterator / RangeOf

RangeOf

class RangeOf<T : Comparable<T>> : Iterator<T>

Iterator implementation to model range functionality.

Parameters

T - Range value type

Since 0.4

Constructors

Name Summary
<init> RangeOf(min: T, max: T, incrementer: KFunc<T, T>)
Iterator implementation to model range functionality.

Functions

Name Summary
hasNext fun hasNext(): Boolean
next fun next(): T