Class ApplyAveragingFormula.ApplyAveragingFormulaDefault
java.lang.Object
cdm.observable.asset.calculatedrate.functions.ApplyAveragingFormula
cdm.observable.asset.calculatedrate.functions.ApplyAveragingFormula.ApplyAveragingFormulaDefault
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Enclosing class:
ApplyAveragingFormula
public static class ApplyAveragingFormula.ApplyAveragingFormulaDefault
extends ApplyAveragingFormula
-
Nested Class Summary
Nested classes/interfaces inherited from class cdm.observable.asset.calculatedrate.functions.ApplyAveragingFormula
ApplyAveragingFormula.ApplyAveragingFormulaDefault -
Field Summary
Fields inherited from class cdm.observable.asset.calculatedrate.functions.ApplyAveragingFormula
objectValidator, vectorOperation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignOutput(CalculatedRateDetails.CalculatedRateDetailsBuilder results, List<BigDecimal> observations, List<BigDecimal> weights) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> calculatedRate(List<BigDecimal> observations, List<BigDecimal> weights) doEvaluate(List<BigDecimal> observations, List<BigDecimal> weights) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> totalWeight(List<BigDecimal> observations, List<BigDecimal> weights) protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> totalWeightedObservations(List<BigDecimal> observations, List<BigDecimal> weights) protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> weightedObservations(List<BigDecimal> observations, List<BigDecimal> weights) Methods inherited from class cdm.observable.asset.calculatedrate.functions.ApplyAveragingFormula
evaluateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Constructor Details
-
ApplyAveragingFormulaDefault
public ApplyAveragingFormulaDefault()
-
-
Method Details
-
doEvaluate
protected CalculatedRateDetails.CalculatedRateDetailsBuilder doEvaluate(List<BigDecimal> observations, List<BigDecimal> weights) - Specified by:
doEvaluatein classApplyAveragingFormula
-
assignOutput
protected CalculatedRateDetails.CalculatedRateDetailsBuilder assignOutput(CalculatedRateDetails.CalculatedRateDetailsBuilder results, List<BigDecimal> observations, List<BigDecimal> weights) -
weightedObservations
protected com.rosetta.model.lib.mapper.MapperC<BigDecimal> weightedObservations(List<BigDecimal> observations, List<BigDecimal> weights) - Specified by:
weightedObservationsin classApplyAveragingFormula
-
totalWeightedObservations
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> totalWeightedObservations(List<BigDecimal> observations, List<BigDecimal> weights) - Specified by:
totalWeightedObservationsin classApplyAveragingFormula
-
totalWeight
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> totalWeight(List<BigDecimal> observations, List<BigDecimal> weights) - Specified by:
totalWeightin classApplyAveragingFormula
-
calculatedRate
protected com.rosetta.model.lib.mapper.MapperS<BigDecimal> calculatedRate(List<BigDecimal> observations, List<BigDecimal> weights) - Specified by:
calculatedRatein classApplyAveragingFormula
-