Package org.dmfs.jems2.iterable
Class Zipped<Result>
- java.lang.Object
-
- org.dmfs.jems2.iterable.DelegatingIterable<Result>
-
- org.dmfs.jems2.iterable.Zipped<Result>
-
- All Implemented Interfaces:
java.lang.Iterable<Result>
public final class Zipped<Result> extends DelegatingIterable<Result>
AnIterablecombining the elements of two givenIterables using aBiFunction.This iterates as many elements as the shorter of both
Iterables.
-
-
Constructor Summary
Constructors Constructor Description Zipped(java.lang.Iterable<Left> left, java.lang.Iterable<Right> right, BiFunction<? super Left,? super Right,? extends Result> function)
-
Method Summary
-
Methods inherited from class org.dmfs.jems2.iterable.DelegatingIterable
iterator
-
-
-
-
Constructor Detail
-
Zipped
public Zipped(java.lang.Iterable<Left> left, java.lang.Iterable<Right> right, BiFunction<? super Left,? super Right,? extends Result> function)
-
-