Kactoos

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

Mapped

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

Mapped collection.

There is no thread-safety guarantee.

Parameters

X - Type of source item

Y - Type of target item

Since 0.3

Constructors

Name Summary
<init> Mapped(fnc: KFunc<X, Y>, src: Iterable<X>)
Mapped(fnc: KFunc<X, Y>, vararg src: X)
Mapped(fnc: Func<X, Y>, src: Iterable<X>)
Mapped(fnc: Func<X, Y>, vararg src: X)
Mapped(fnc: Func<X, Y>, src: Collection<X>)Mapped(fnc: KFunc<X, Y>, src: Collection<X>)
Mapped collection.

Inherited Functions

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