FutureTask FutureTask Constructors

Definition

Overloads

FutureTask(ICallable) FutureTask(ICallable)
FutureTask(IRunnable, Object) FutureTask(IRunnable, Object)
FutureTask(IntPtr, JniHandleOwnership) FutureTask(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

FutureTask(ICallable) FutureTask(ICallable)

[Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/Callable;)V", "")]
public FutureTask (Java.Util.Concurrent.ICallable callable);
new Java.Util.Concurrent.FutureTask : Java.Util.Concurrent.ICallable -> Java.Util.Concurrent.FutureTask

Parameters

callable
ICallable ICallable

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

FutureTask(IRunnable, Object) FutureTask(IRunnable, Object)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Runnable;Ljava/lang/Object;)V", "")]
public FutureTask (Java.Lang.IRunnable runnable, Java.Lang.Object result);
new Java.Util.Concurrent.FutureTask : Java.Lang.IRunnable * Java.Lang.Object -> Java.Util.Concurrent.FutureTask

Parameters

runnable
IRunnable IRunnable
result
Object Object

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

FutureTask(IntPtr, JniHandleOwnership) FutureTask(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to