NumberMultiplier Constructor (PropertyManipulator, Object, Boolean) |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Construct an NumberMultiplier processor that will
increment a property value by a specified amount, returning
either the old or the new value as specified.
Namespace:
Tangosol.Util.Processor
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic NumberMultiplier(
PropertyManipulator manipulator,
Object numInc,
bool postIncrement
)
Parameters
- manipulator
- Type: Tangosol.Util.ProcessorPropertyManipulator
The PropertyManipulator; could be null.
- numInc
- Type: SystemObject
The object representing the magnitude and sign of the multiplier.
- postIncrement
- Type: SystemBoolean
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.
See Also