Compartilhar via


SynchronousQueue.Put(Object) Method

Definition

Adds the specified element to this queue, waiting if necessary for another thread to receive it.

[Android.Runtime.Register("put", "(Ljava/lang/Object;)V", "GetPut_Ljava_lang_Object_Handler")]
public virtual void Put (Java.Lang.Object? e);
[<Android.Runtime.Register("put", "(Ljava/lang/Object;)V", "GetPut_Ljava_lang_Object_Handler")>]
abstract member Put : Java.Lang.Object -> unit
override this.Put : Java.Lang.Object -> unit

Parameters

e
Object

Implements

Attributes

Remarks

Adds the specified element to this queue, waiting if necessary for another thread to receive it.

Java documentation for java.util.concurrent.SynchronousQueue.put(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