Share via


CountedCompleter Constructors

Definition

Overloads

CountedCompleter()

Creates a new CountedCompleter with no completer and an initial pending count of zero.

CountedCompleter(CountedCompleter)

Creates a new CountedCompleter with the given completer and an initial pending count of zero.

CountedCompleter(CountedCompleter, Int32)

Creates a new CountedCompleter with the given completer and initial pending count.

CountedCompleter(IntPtr, JniHandleOwnership)

CountedCompleter()

Creates a new CountedCompleter with no completer and an initial pending count of zero.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
protected CountedCompleter ();
Attributes

Remarks

Creates a new CountedCompleter with no completer and an initial pending count of zero.

Java documentation for java.util.concurrent.CountedCompleter.CountedCompleter().

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

CountedCompleter(CountedCompleter)

Creates a new CountedCompleter with the given completer and an initial pending count of zero.

[Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/CountedCompleter;)V", "", ApiSince=24)]
protected CountedCompleter (Java.Util.Concurrent.CountedCompleter? completer);
[<Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/CountedCompleter;)V", "", ApiSince=24)>]
new Java.Util.Concurrent.CountedCompleter : Java.Util.Concurrent.CountedCompleter -> Java.Util.Concurrent.CountedCompleter

Parameters

completer
CountedCompleter

this task's completer, or null if none

Attributes

Remarks

Creates a new CountedCompleter with the given completer and an initial pending count of zero.

Java documentation for java.util.concurrent.CountedCompleter.CountedCompleter(java.util.concurrent.CountedCompleter<?>).

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

CountedCompleter(CountedCompleter, Int32)

Creates a new CountedCompleter with the given completer and initial pending count.

[Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/CountedCompleter;I)V", "", ApiSince=24)]
protected CountedCompleter (Java.Util.Concurrent.CountedCompleter? completer, int initialPendingCount);
[<Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/CountedCompleter;I)V", "", ApiSince=24)>]
new Java.Util.Concurrent.CountedCompleter : Java.Util.Concurrent.CountedCompleter * int -> Java.Util.Concurrent.CountedCompleter

Parameters

completer
CountedCompleter

this task's completer, or null if none

initialPendingCount
Int32

the initial pending count

Attributes

Remarks

Creates a new CountedCompleter with the given completer and initial pending count.

Java documentation for java.util.concurrent.CountedCompleter.CountedCompleter(java.util.concurrent.CountedCompleter<?>, int).

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

CountedCompleter(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

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