Share via


LongAdder.Add(Int64) Method

Definition

Adds the given value.

[Android.Runtime.Register("add", "(J)V", "GetAdd_JHandler", ApiSince=24)]
public virtual void Add (long x);
[<Android.Runtime.Register("add", "(J)V", "GetAdd_JHandler", ApiSince=24)>]
abstract member Add : int64 -> unit
override this.Add : int64 -> unit

Parameters

x
Int64

the value to add

Attributes

Remarks

Adds the given value.

Java documentation for java.util.concurrent.atomic.LongAdder.add(long).

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