语言

CompletableFuture 构造函数

定义

重载

名称 说明
CompletableFuture()

创建新的不完整的 CompletableFuture。

CompletableFuture(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

CompletableFuture()

创建新的不完整的 CompletableFuture。

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public CompletableFuture();
属性

注解

创建新的不完整的 CompletableFuture。

适用于 . 的 java.util.concurrent.CompletableFuture.CompletableFuture()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

CompletableFuture(IntPtr, JniHandleOwnership)

创建表示现有Java对象的托管实例。

protected CompletableFuture(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.CompletableFuture : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.CompletableFuture

参数

javaReference
IntPtr

nativeint

对Java对象的 JNI 引用。

transfer
JniHandleOwnership

指定 JNI 引用的所有权是否传输到此实例。

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于