Share via


ForkJoinPool.Submit(ForkJoinTask) Method

Definition

Submits a ForkJoinTask for execution.

[Android.Runtime.Register("submit", "(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask;", "GetSubmit_Ljava_util_concurrent_ForkJoinTask_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public virtual Java.Util.Concurrent.ForkJoinTask? Submit (Java.Util.Concurrent.ForkJoinTask? task);
[<Android.Runtime.Register("submit", "(Ljava/util/concurrent/ForkJoinTask;)Ljava/util/concurrent/ForkJoinTask;", "GetSubmit_Ljava_util_concurrent_ForkJoinTask_Handler")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
override this.Submit : Java.Util.Concurrent.ForkJoinTask -> Java.Util.Concurrent.ForkJoinTask

Parameters

task
ForkJoinTask

the task to submit

Returns

the task

Attributes

Remarks

Submits a ForkJoinTask for execution.

Java documentation for java.util.concurrent.ForkJoinPool.submit(java.util.concurrent.ForkJoinTask<T>).

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