CountedCompleter.CompareAndSetPendingCount(Int32, Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
保留中のカウントを特定のカウントに (アトミックに) 設定するのは、現在指定された期待値を保持している場合のみです。
[Android.Runtime.Register("compareAndSetPendingCount", "(II)Z", "", ApiSince=24)]
public bool CompareAndSetPendingCount(int expected, int count);
[<Android.Runtime.Register("compareAndSetPendingCount", "(II)Z", "", ApiSince=24)>]
member this.CompareAndSetPendingCount : int * int -> bool
パラメーター
- expected
- Int32
予期される値
- count
- Int32
新しい値
返品
true 成功した場合
- 属性
注釈
保留中のカウントを特定のカウントに (アトミックに) 設定するのは、現在指定された期待値を保持している場合のみです。
java.util.concurrent.CountedCompleter.compareAndSetPendingCount(int, int)の Java ドキュメント。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。