Class RightZipped<Left,Right,Result>

java.lang.Object
org.dmfs.jems2.iterable.RightZipped<Left,Right,Result>
All Implemented Interfaces:
Iterable<Result>

public final class RightZipped<Left,Right,Result> extends Object implements Iterable<Result>
/** An Iterable combining the elements of two given Iterables using a BiFunction.

In contrast to Zipped, this always returns as many results as the right Iterable. The given BiFunction receives an Optional as the first argument, which is absent in case the left Iterable has run out of elements.

If the left Iterable has more elements than the right one, the excess elements are not iterated.