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
Modifier and Type Method Description static <TT, RR extends Collection<Pair<TT, Integer>>>
ZipWithIndexProcedure<TT,RR>create(RR target)
void
value(T each)
-
Constructor Details
-
Method Details
-
create
public static <TT, RR extends Collection<Pair<TT, Integer>>> ZipWithIndexProcedure<TT,RR> create(RR target) -
value
-