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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java