Class ZipWithIndexProcedure<T,R extends Collection<Pair<T,Integer>>>
- java.lang.Object
-
- org.eclipse.collections.impl.block.procedure.ZipWithIndexProcedure<T,R>
-
- All Implemented Interfaces:
Serializable
,Consumer<T>
,Procedure<T>
public final class ZipWithIndexProcedure<T,R extends Collection<Pair<T,Integer>>> extends Object implements Procedure<T>
Creates a PairImpl of objects and their indexes and adds the result to a target collection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ZipWithIndexProcedure(R target)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <TT,RR extends Collection<Pair<TT,Integer>>>
ZipWithIndexProcedure<TT,RR>create(RR target)
void
value(T each)
-
-
-
Constructor Detail
-
ZipWithIndexProcedure
public ZipWithIndexProcedure(R target)
-
-
Method Detail
-
create
public static <TT,RR extends Collection<Pair<TT,Integer>>> ZipWithIndexProcedure<TT,RR> create(RR target)
-
-