Kactoos

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

Mapped

class Mapped<out X : Any, out Y : Any> : IterableEnvelope<Y>

Mapped iterable.

There is no thread-safety guarantee.

Parameters

X - Type of source item

Y - Type of target item

func - Func

iterable - Source iterable

Since 0.4

Constructors

Name Summary
<init> Mapped(func: KFunc<X, Y>, vararg args: X)
Mapped(func: Func<X, Y>, vararg args: X)
Mapped(func: Func<X, Y>, iterable: Iterable<X>)Mapped(func: KFunc<X, Y>, iterable: Iterable<X>)
Mapped iterable.

Inherited Functions

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