AsyncEnumeration<E> Interface
Type Parameters
- E
The type of element to enumerate.
public interface AsyncEnumeration
Asynchronous enumerator
Method Summary
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
hasMoreElementsAsync()
Gets asynchronously whether there are more elements to enumerate. |
CompletableFuture<E> |
nextElementAsync()
Gets the next element in enumeration. |
Method Details
hasMoreElementsAsync
public CompletableFuture
Gets asynchronously whether there are more elements to enumerate.
Returns:
A completable future which returns boolean indicating whether there are more elements left to enumerate.
nextElementAsync
public CompletableFuture
Gets the next element in enumeration.
Returns:
The next element.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for Java