E - the iterator element typepublic class MaybeIterator<E> extends ReadOnlyIterator<Maybe<E>>
| Constructor and Description |
|---|
MaybeIterator(Iterator<E> iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Maybe<E> |
next()
calling next over the boundary of the contained iterator leads
Maybe.nothing indefinitely "no matter how many times you try, you can't
shoot the dog"
|
removeCopyright © 2012. All Rights Reserved.