次の方法で共有


SynchronousQueue.DrainTo Method

Definition

Overloads

DrainTo(ICollection)
DrainTo(ICollection, Int32)

DrainTo(ICollection)

[Android.Runtime.Register("drainTo", "(Ljava/util/Collection;)I", "GetDrainTo_Ljava_util_Collection_Handler")]
public virtual int DrainTo (System.Collections.ICollection? c);
[<Android.Runtime.Register("drainTo", "(Ljava/util/Collection;)I", "GetDrainTo_Ljava_util_Collection_Handler")>]
abstract member DrainTo : System.Collections.ICollection -> int
override this.DrainTo : System.Collections.ICollection -> int

Parameters

Returns

Implements

Attributes

Remarks

Java documentation for java.util.concurrent.SynchronousQueue.drainTo(java.util.Collection<? super 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

DrainTo(ICollection, Int32)

[Android.Runtime.Register("drainTo", "(Ljava/util/Collection;I)I", "GetDrainTo_Ljava_util_Collection_IHandler")]
public virtual int DrainTo (System.Collections.ICollection? c, int maxElements);
[<Android.Runtime.Register("drainTo", "(Ljava/util/Collection;I)I", "GetDrainTo_Ljava_util_Collection_IHandler")>]
abstract member DrainTo : System.Collections.ICollection * int -> int
override this.DrainTo : System.Collections.ICollection * int -> int

Parameters

maxElements
Int32

Returns

Implements

Attributes

Remarks

Java documentation for java.util.concurrent.SynchronousQueue.drainTo(java.util.Collection<? super E>, 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