CountedCompleter.DecrementPendingCountUnlessZero 方法

定义

如果挂起的计数为非零,则(原子上)会递减它。

[Android.Runtime.Register("decrementPendingCountUnlessZero", "()I", "", ApiSince=24)]
public int DecrementPendingCountUnlessZero();
[<Android.Runtime.Register("decrementPendingCountUnlessZero", "()I", "", ApiSince=24)>]
member this.DecrementPendingCountUnlessZero : unit -> int

返回

初始(未创建)挂起的计数,保留此方法的条目

属性

注解

如果挂起的计数为非零,则(原子上)会递减它。

适用于 . 的 java.util.concurrent.CountedCompleter.decrementPendingCountUnlessZero()Java 文档

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

适用于