E - The type of the iterated value.public final class SingleIterator<E> extends AbstractBaseIterator<E>
Iterator to iterate the sole value of a Single.| Constructor and Description |
|---|
SingleIterator(Single<E> value)
Creates an
Iterator which iterates the value of the given Single. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
equals, hashCode, remove