public final class PairZipped<Left,Right> extends DelegatingIterator<Pair<Left,Right>>
Iterator combining the elements of two given Iterators into an Iterator of Pairs.
This iterates as many elements as the shorter of both Iterators.
| Constructor and Description |
|---|
PairZipped(java.util.Iterator<? extends Left> leftIterator,
java.util.Iterator<? extends Right> rightIterator) |
hasNext, next, remove