DoubleAccumulator Constructors

Definition

Overloads

DoubleAccumulator(IDoubleBinaryOperator, Double)

Creates a new instance using the given accumulator function and identity element.

DoubleAccumulator(IntPtr, JniHandleOwnership)

DoubleAccumulator(IDoubleBinaryOperator, Double)

Creates a new instance using the given accumulator function and identity element.

[Android.Runtime.Register(".ctor", "(Ljava/util/function/DoubleBinaryOperator;D)V", "", ApiSince=24)]
public DoubleAccumulator (Java.Util.Functions.IDoubleBinaryOperator? accumulatorFunction, double identity);
[<Android.Runtime.Register(".ctor", "(Ljava/util/function/DoubleBinaryOperator;D)V", "", ApiSince=24)>]
new Java.Util.Concurrent.Atomic.DoubleAccumulator : Java.Util.Functions.IDoubleBinaryOperator * double -> Java.Util.Concurrent.Atomic.DoubleAccumulator

Parameters

accumulatorFunction
IDoubleBinaryOperator

a side-effect-free function of two arguments

identity
Double

identity (initial value) for the accumulator function

Attributes

Remarks

Creates a new instance using the given accumulator function and identity element.

Java documentation for java.util.concurrent.atomic.DoubleAccumulator.DoubleAccumulator(java.util.function.DoubleBinaryOperator, double).

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

DoubleAccumulator(IntPtr, JniHandleOwnership)

protected DoubleAccumulator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.Atomic.DoubleAccumulator : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.Atomic.DoubleAccumulator

Parameters

javaReference
IntPtr

nativeint

Remarks

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