kactoos-jvm / nnl.rocks.kactoos.iterator / Mapped
class Mapped<out X :
Any
, out Y :
Any
> :
Iterator
<
Y
>
Mapped iterator.
There is no thread-safety guarantee.
X
- Type of source item
Y
- Type of target item
func
- Mapping function
origin
- Decorated iterator
Since 0.4
Name | Summary |
---|---|
<init> | Mapped(func: Func < X , Y >, origin: Iterator < X >) Mapped(func: KFunc < X , Y >, origin: Iterator < X >) Mapped iterator. |
Name | Summary |
---|---|
hasNext | fun hasNext(): Boolean |
next | fun next(): Y |