Class RoundEvenVaRRounding
- java.lang.Object
-
- com.activeviam.risk.core.calc.impl.RoundEvenVaRRounding
-
- All Implemented Interfaces:
IVaRRounding
,com.quartetfs.fwk.types.IPluginValue
,Serializable
@QuartetPluginValue(intf=IVaRRounding.class) public class RoundEvenVaRRounding extends Object implements IVaRRounding
This class provides round even rounding calculation formula- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROUND_EVEN
-
Constructor Summary
Constructors Constructor Description RoundEvenVaRRounding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
DoubleUnaryOperator
getFormula()
Provides Double Unary Operator for rounding calculation formulacom.quartetfs.fwk.types.IPlugin<? extends com.quartetfs.fwk.types.IPluginValue>
getPlugin()
Object
key()
void
setPlugin(com.quartetfs.fwk.types.IPlugin<? extends com.quartetfs.fwk.types.IPluginValue> iPlugin)
-
-
-
Field Detail
-
ROUND_EVEN
public static final String ROUND_EVEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFormula
public DoubleUnaryOperator getFormula()
Description copied from interface:IVaRRounding
Provides Double Unary Operator for rounding calculation formula- Specified by:
getFormula
in interfaceIVaRRounding
- Returns:
- DoubleUnaryOperator representing rounding equation.
-
description
public String description()
- Specified by:
description
in interfacecom.quartetfs.fwk.types.IPluginValue
-
key
public Object key()
- Specified by:
key
in interfacecom.quartetfs.fwk.types.IPluginValue
-
getPlugin
public com.quartetfs.fwk.types.IPlugin<? extends com.quartetfs.fwk.types.IPluginValue> getPlugin()
- Specified by:
getPlugin
in interfacecom.quartetfs.fwk.types.IPluginValue
-
setPlugin
public void setPlugin(com.quartetfs.fwk.types.IPlugin<? extends com.quartetfs.fwk.types.IPluginValue> iPlugin)
- Specified by:
setPlugin
in interfacecom.quartetfs.fwk.types.IPluginValue
-
-