共用方式為


DelayQueue Constructors

Definition

Overloads

DelayQueue()

Creates a new DelayQueue that is initially empty.

DelayQueue(ICollection)

Creates a DelayQueue initially containing the elements of the given collection of Delayed instances.

DelayQueue(IntPtr, JniHandleOwnership)

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

DelayQueue()

Creates a new DelayQueue that is initially empty.

[Android.Runtime.Register(".ctor", "()V", "")]
public DelayQueue ();
Attributes

Remarks

Creates a new DelayQueue that is initially empty.

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

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

DelayQueue(ICollection)

Creates a DelayQueue initially containing the elements of the given collection of Delayed instances.

[Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")]
public DelayQueue (System.Collections.ICollection? c);
[<Android.Runtime.Register(".ctor", "(Ljava/util/Collection;)V", "")>]
new Java.Util.Concurrent.DelayQueue : System.Collections.ICollection -> Java.Util.Concurrent.DelayQueue

Parameters

c
ICollection

the collection of elements to initially contain

Attributes

Remarks

Creates a DelayQueue initially containing the elements of the given collection of Delayed instances.

Java documentation for java.util.concurrent.DelayQueue.DelayQueue(java.util.Collection<? extends E>).

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

DelayQueue(IntPtr, JniHandleOwnership)

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

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

Parameters

javaReference
IntPtr

nativeint

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

transfer
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