Kactoos

kactoos-jvm / nnl.rocks.kactoos.iterable / IterableOf

IterableOf

class IterableOf<out T : Any> : IterableEnvelope<T>

Array as iterable.

There is no thread-safety guarantee.

Parameters

T - Type of item

Since 0.4

Constructors

Name Summary
<init> IterableOf(scalar: KScalar<Iterator<T>>)
IterableOf(vararg items: T)
IterableOf(scalar: Scalar<Iterator<T>>)
IterableOf(list: List<T>)
IterableOf(set: Set<T>)
IterableOf(iterable: Iterable<T>)

Inherited Functions

Name Summary
iterator open fun iterator(): Iterator<T>