Partager via


LongAdder.Decrement Method

Definition

Equivalent to add(-1).

[Android.Runtime.Register("decrement", "()V", "GetDecrementHandler", ApiSince=24)]
public virtual void Decrement ();
[<Android.Runtime.Register("decrement", "()V", "GetDecrementHandler", ApiSince=24)>]
abstract member Decrement : unit -> unit
override this.Decrement : unit -> unit
Attributes

Remarks

Equivalent to add(-1).

Java documentation for java.util.concurrent.atomic.LongAdder.decrement().

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