public final class SingleIterator<T> extends Object implements StreamIterator<T>
| Constructor and Description |
|---|
SingleIterator(Single<T> single) |
| 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.