public interface AsyncIterator<T>
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
hasNext()
Returns whether the iterator has a next item.
|
CompletableFuture<T> |
next()
Returns the next item in the iterator.
|
CompletableFuture<Boolean> hasNext()
CompletableFuture<T> next()