IBlockingDequeExtensions.OfferFirstAsync 方法

定义

重载

OfferFirstAsync(IBlockingDeque, Object)
OfferFirstAsync(IBlockingDeque, Object, Int64, TimeUnit)

OfferFirstAsync(IBlockingDeque, Object)

public static System.Threading.Tasks.Task<bool> OfferFirstAsync (this Java.Util.Concurrent.IBlockingDeque self, Java.Lang.Object? e);
static member OfferFirstAsync : Java.Util.Concurrent.IBlockingDeque * Java.Lang.Object -> System.Threading.Tasks.Task<bool>

参数

e
Object

返回

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

OfferFirstAsync(IBlockingDeque, Object, Int64, TimeUnit)

public static System.Threading.Tasks.Task<bool> OfferFirstAsync (this Java.Util.Concurrent.IBlockingDeque self, Java.Lang.Object? e, long timeout, Java.Util.Concurrent.TimeUnit? unit);
static member OfferFirstAsync : Java.Util.Concurrent.IBlockingDeque * Java.Lang.Object * int64 * Java.Util.Concurrent.TimeUnit -> System.Threading.Tasks.Task<bool>

参数

e
Object
timeout
Int64
unit
TimeUnit

返回

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于