Udostępnij za pośrednictwem


LinkedBlockingDeque.OfferFirst Method

Definition

Overloads

OfferFirst(Object)
OfferFirst(Object, Int64, TimeUnit)

OfferFirst(Object)

[Android.Runtime.Register("offerFirst", "(Ljava/lang/Object;)Z", "GetOfferFirst_Ljava_lang_Object_Handler")]
public virtual bool OfferFirst (Java.Lang.Object? e);
[<Android.Runtime.Register("offerFirst", "(Ljava/lang/Object;)Z", "GetOfferFirst_Ljava_lang_Object_Handler")>]
abstract member OfferFirst : Java.Lang.Object -> bool
override this.OfferFirst : Java.Lang.Object -> bool

Parameters

e
Object

Returns

Implements

Attributes

Remarks

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

OfferFirst(Object, Int64, TimeUnit)

[Android.Runtime.Register("offerFirst", "(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Z", "GetOfferFirst_Ljava_lang_Object_JLjava_util_concurrent_TimeUnit_Handler")]
public virtual bool OfferFirst (Java.Lang.Object? e, long timeout, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("offerFirst", "(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Z", "GetOfferFirst_Ljava_lang_Object_JLjava_util_concurrent_TimeUnit_Handler")>]
abstract member OfferFirst : Java.Lang.Object * int64 * Java.Util.Concurrent.TimeUnit -> bool
override this.OfferFirst : Java.Lang.Object * int64 * Java.Util.Concurrent.TimeUnit -> bool

Parameters

e
Object
timeout
Int64
unit
TimeUnit

Returns

Implements

Attributes

Remarks

Java documentation for java.util.concurrent.LinkedBlockingDeque.offerFirst(E, long, java.util.concurrent.TimeUnit).

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