public final class Zipped<Left,Right,Result>
extends java.lang.Object
implements java.lang.Iterable<Result>
Iterable combining the elements of two given Iterables using a BiFunction.
This iterates as many elements as the shorter of both Iterables.
| Constructor and Description |
|---|
Zipped(java.lang.Iterable<Left> left,
java.lang.Iterable<Right> right,
BiFunction<Left,Right,Result> function) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Result> |
iterator() |