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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <TT, RR extends Collection<Pair<TT,Integer>>>
ZipWithIndexProcedure<TT, RR> create(RR target) void
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
index
private int index -
target
-
-
Constructor Details
-
ZipWithIndexProcedure
-
-
Method Details
-
create
public static <TT, RR extends Collection<Pair<TT,Integer>>> ZipWithIndexProcedure<TT,RR> create(RR target) -
value
-