kactoos-jvm / nnl.rocks.kactoos.collection / Mapped
class Mapped<out X : Any, out Y : Any> : CollectionEnvelope<Y>
Mapped collection.
There is no thread-safety guarantee.
X - Type of source item
Y - Type of target item
Since 0.3
| 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. |
| Name | Summary |
|---|---|
| iterator | open fun iterator(): Iterator<X> |