Package org.cactoos.iterable
Class Mapped<Y>
- java.lang.Object
-
- org.cactoos.iterable.IterableEnvelope<Y>
-
- org.cactoos.iterable.Mapped<Y>
-
- Type Parameters:
Y
- Type of target item
- All Implemented Interfaces:
Iterable<Y>
public final class Mapped<Y> extends IterableEnvelope<Y>
Mapped iterable.There is no thread-safety guarantee.
- Since:
- 0.1
-
-
Method Summary
-
Methods inherited from class org.cactoos.iterable.IterableEnvelope
equals, hashCode, iterator, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
Mapped
@SafeVarargs public Mapped(Func<? super X,? extends Y> fnc, X... src)
Ctor.- Type Parameters:
X
- Type of source item- Parameters:
fnc
- Funcsrc
- Source iterable
-
-