public final class MaybeIterator<T> extends Object implements StreamIterator<T>
| Constructor and Description |
|---|
MaybeIterator(Maybe<T> maybe) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Idempotent method for cancellation.
|
boolean |
hasNext() |
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnextNullCheckedforEachRemaining, removepublic void dispose()
StreamIteratordispose in interface StreamIterator<T>Copyright © 2018–2023. All rights reserved.