Kactoos

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

Cycled

class Cycled<out T : Any> : Iterator<T>

Cycled Iterator.

There is no thread-safety guarantee.

Parameters

T - Type of item

Since 0.3

Constructors

Name Summary
<init> Cycled(iterable: Iterable<T>)Cycled(origin: KScalar<Iterable<T>>)
Cycled Iterator.

Functions

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