Package org.redisson.misc
Class CompositeAsyncIterator<T>
java.lang.Object
org.redisson.misc.CompositeAsyncIterator<T>
- All Implemented Interfaces:
AsyncIterator<T>
- Author:
- seakider
-
Constructor Details
-
CompositeAsyncIterator
-
-
Method Details
-
hasNext
Description copied from interface:AsyncIteratorReturnstrueif more elements are available.NOTE: each invocation returns a new instance of CompletionStage
- Specified by:
hasNextin interfaceAsyncIterator<T>- Returns:
trueif more elements are available, otherwisefalse
-
next
Description copied from interface:AsyncIteratorReturns next element or NoSuchElementException if no more elements available.NOTE: each invocation returns a new instance of CompletionStage
- Specified by:
nextin interfaceAsyncIterator<T>- Returns:
- next element or NoSuchElementException
-