다음을 통해 공유


AbstractExecutorService.InvokeAny Method

Definition

Overloads

InvokeAny(ICollection)
InvokeAny(ICollection, Int64, TimeUnit)

InvokeAny(ICollection)

[Android.Runtime.Register("invokeAny", "(Ljava/util/Collection;)Ljava/lang/Object;", "GetInvokeAny_Ljava_util_Collection_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public virtual Java.Lang.Object? InvokeAny (System.Collections.ICollection? tasks);
[<Android.Runtime.Register("invokeAny", "(Ljava/util/Collection;)Ljava/lang/Object;", "GetInvokeAny_Ljava_util_Collection_Handler")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
abstract member InvokeAny : System.Collections.ICollection -> Java.Lang.Object
override this.InvokeAny : System.Collections.ICollection -> Java.Lang.Object

Parameters

tasks
ICollection

Returns

Implements

Attributes

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

InvokeAny(ICollection, Int64, TimeUnit)

[Android.Runtime.Register("invokeAny", "(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;", "GetInvokeAny_Ljava_util_Collection_JLjava_util_concurrent_TimeUnit_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public virtual Java.Lang.Object? InvokeAny (System.Collections.ICollection? tasks, long timeout, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("invokeAny", "(Ljava/util/Collection;JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;", "GetInvokeAny_Ljava_util_Collection_JLjava_util_concurrent_TimeUnit_Handler")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
abstract member InvokeAny : System.Collections.ICollection * int64 * Java.Util.Concurrent.TimeUnit -> Java.Lang.Object
override this.InvokeAny : System.Collections.ICollection * int64 * Java.Util.Concurrent.TimeUnit -> Java.Lang.Object

Parameters

tasks
ICollection
timeout
Int64
unit
TimeUnit

Returns

Implements

Attributes

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