Y
- Type of target itempublic final class MappedWithIndex<Y> extends IterableEnvelope<Y>
There is no thread-safety guarantee.
Constructor and Description |
---|
MappedWithIndex(BiFunc<? super X,Integer,? extends Y> fnc,
Iterable<? extends X> src)
Ctor.
|
MappedWithIndex(BiFunc<? super X,Integer,? extends Y> fnc,
X... src)
Ctor.
|
equals, hashCode, iterator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
@SafeVarargs public MappedWithIndex(BiFunc<? super X,Integer,? extends Y> fnc, X... src)
X
- Type of source itemfnc
- Funcsrc
- Source iterableCopyright © 2017–2022 Cactoos. All rights reserved.