Package cdm.base.math
package cdm.base.math
Basic maths concepts: quantity and unit, rounding, curve / schedule, non-negativity constraint etc.
-
ClassDescriptionAn arithmetic operator that can be passed to a functionDefines the ways in which multiple values can be aggregated into a single value.Builder InterfaceBuilder Implementation of AveragingCalculationMethodImmutable Implementation of AveragingCalculationMethodSpecifies enumerations for the type of averaging calculation.The enumerated values to specify the method of calculation to be used when averaging rates.Provides enumerated values for capacity units, generally used in the context of defining quantities for commodities.Defines a date and value pair.Builder InterfaceBuilder Implementation of DatedValueImmutable Implementation of DatedValueProvides enumerated values for financial units, generally used in the context of defining quantities for securities.Defines a concrete measure as a number associated to a unit.Builder InterfaceBuilder Implementation of MeasureImmutable Implementation of MeasureProvides an abstract type to define a measure as a number associated to a unit.Builder InterfaceBuilder Implementation of MeasureBaseImmutable Implementation of MeasureBaseA set of measures, all in the same unit, where the values are defined through a schedule of steps.Builder InterfaceBuilder Implementation of MeasureScheduleImmutable Implementation of MeasureScheduleThe money bound is defined as a money amount and whether the bound is inclusive.Builder InterfaceBuilder Implementation of MoneyBoundImmutable Implementation of MoneyBoundThe money range defined as either a lower and upper money bound, or both.Builder InterfaceBuilder Implementation of MoneyRangeImmutable Implementation of MoneyRangeSpecifies a quantity as a non-negative number, which condition is enforced through a data rule that only applies to the extending class.Builder InterfaceBuilder Implementation of NonNegativeQuantityImmutable Implementation of NonNegativeQuantityBuilder InterfaceBuilder Implementation of NonNegativeQuantityScheduleImmutable Implementation of NonNegativeQuantityScheduleA class defining a step date and non-negative step value pair.Builder InterfaceBuilder Implementation of NonNegativeStepImmutable Implementation of NonNegativeStepThe number bound is defined as a number and whether the bound is inclusive.Builder InterfaceBuilder Implementation of NumberBoundImmutable Implementation of NumberBoundThe number range defined as either a lower and upper number bound, or both.Builder InterfaceBuilder Implementation of NumberRangeImmutable Implementation of NumberRangeRepresents the enumerated values to specify a logical quantification, i.e. either All or Any.Specifies a quantity as a single value to be associated to a financial product, for example a transfer amount resulting from a trade.Builder InterfaceBuilder Implementation of QuantityImmutable Implementation of QuantitySpecifies whether a quantity change is an increase, a decrease or a replacement, whereby the quantity is always specified as a positive number.Specifies a quantity schedule to be associated to a financial product to represent a trade amount.Builder InterfaceBuilder Implementation of QuantityScheduleImmutable Implementation of QuantityScheduleDefines rounding rules and precision to be used in the rounding of a number.Builder InterfaceBuilder Implementation of RoundingImmutable Implementation of RoundingThe enumerated values to specify the rounding direction and precision to be used in the rounding of a number.The enumerated values to specify the rounding direction when rounding of a number to nearest.A class defining a schedule of rates or amounts in terms of an initial value and then a series of step date and value pairs.Builder InterfaceBuilder Implementation of ScheduleImmutable Implementation of ScheduleDefines the unit to be used for price, quantity, or other purposesBuilder InterfaceBuilder Implementation of UnitTypeImmutable Implementation of UnitTypeProvides enumerated values for weather units, generally used in the context of defining quantities for commodities.