LongAccumulator 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
LongAccumulator(ILongBinaryOperator, Int64) |
Creates a new instance using the given accumulator function and identity element. |
LongAccumulator(IntPtr, JniHandleOwnership) |
LongAccumulator(ILongBinaryOperator, Int64)
Creates a new instance using the given accumulator function and identity element.
[Android.Runtime.Register(".ctor", "(Ljava/util/function/LongBinaryOperator;J)V", "", ApiSince=24)]
public LongAccumulator (Java.Util.Functions.ILongBinaryOperator? accumulatorFunction, long identity);
[<Android.Runtime.Register(".ctor", "(Ljava/util/function/LongBinaryOperator;J)V", "", ApiSince=24)>]
new Java.Util.Concurrent.Atomic.LongAccumulator : Java.Util.Functions.ILongBinaryOperator * int64 -> Java.Util.Concurrent.Atomic.LongAccumulator
Parameters
- accumulatorFunction
- ILongBinaryOperator
a side-effect-free function of two arguments
- identity
- Int64
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
LongAccumulator(IntPtr, JniHandleOwnership)
protected LongAccumulator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.Atomic.LongAccumulator : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.Atomic.LongAccumulator
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.