Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Construct an NumberMultiplier processor that will
multiply a property value by a specified factor, returning
either the old or the new value as specified.
Namespace: Tangosol.Util.Processor
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public NumberMultiplier( string name, Object numInc, bool postIncrement ) |
Parameters
- name
- Type: System..::..String
The property name.
- numInc
- Type: System..::..Object
The object representing the magnitude and sign of the multiplier.
- postIncrement
- Type: System..::..Boolean
Pass true to return the value as it was before it was multiplied, or pass false to return the value as it is after it is multiplied.
Remarks
The .NET type of the original property value will dictate the way the specified factor is interpreted. For example, applying a factor of Double(0.5) to a property value of Int32(4) will result in a new property value of Int32(2).
If the original property value is null, the .NET type of the numFactor parameter will dictate the .NET type of the new value.