Package org.dmfs.jems2.iterator
Class Zipped<Left,Right,Result>
- java.lang.Object
-
- org.dmfs.jems2.iterator.BaseIterator<Result>
-
- org.dmfs.jems2.iterator.Zipped<Left,Right,Result>
-
- All Implemented Interfaces:
java.util.Iterator<Result>
public final class Zipped<Left,Right,Result> extends BaseIterator<Result>
AnIteratorcombining the elements of two givenIterators using aBiFunction.The result has as many elements as the shorter of both
Iterators.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Resultnext()-
Methods inherited from class org.dmfs.jems2.iterator.BaseIterator
equals, hashCode, remove
-
-