public final class Zipped<Left,Right,Result> extends AbstractBaseIterator<Result>
Iterator combining the elements of two given Iterators using a BiFunction.
The result has as many elements as the shorter of both Iterators.
| Constructor and Description |
|---|
Zipped(java.util.Iterator<? extends Left> left,
java.util.Iterator<? extends Right> right,
BiFunction<? super Left,? super Right,? extends Result> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Result |
next() |
equals, hashCode, remove