DoubleAccumulator Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
- transfer
- JniHandleOwnership
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.