E1 - the first iterator element typeE2 - the second iterator element typepublic class ZipLongestIterator<E1,E2> extends ReadOnlyIterator<Pair<Maybe<E1>,Maybe<E2>>>
| Constructor and Description |
|---|
ZipLongestIterator(Iterator<E1> former,
Iterator<E2> latter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Pair<Maybe<E1>,Maybe<E2>> |
next()
iterating over the longest iterator gives a Pair of Maybe.nothing
indefinitely "no matter how many times you try, you can't shoot the dog"
|
removeCopyright © 2013. All rights reserved.