AsyncEnumeration<E> インターフェイス
型パラメーター
- E
列挙する要素の型。
public interface AsyncEnumeration
非同期列挙子
メソッドの概要
修飾子と型 | メソッドと説明 |
---|---|
CompletableFuture<Boolean> |
hasMoreElementsAsync()
列挙する要素が他にもあるかどうかを非同期的に取得します。 |
CompletableFuture<E> |
nextElementAsync()
列挙体の次の要素を取得します。 |
メソッドの詳細
hasMoreElementsAsync
public CompletableFuture
列挙する要素が他にもあるかどうかを非同期的に取得します。
戻り値:
列挙する要素が残っているかどうかを示すブール値を返す、完了可能な未来。
nextElementAsync
public CompletableFuture
列挙体の次の要素を取得します。
戻り値:
次の要素。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java