Class AbstractDerivedCalculationFunction<T extends CalculationTarget,​R>

    • Constructor Detail

      • AbstractDerivedCalculationFunction

        protected AbstractDerivedCalculationFunction​(Class<T> targetType,
                                                     Measure measure,
                                                     Measure... requiredMeasures)
        Creates a new function which calculates one measure for targets of one type.
        Parameters:
        targetType - the target type handled by the function, often a trade
        measure - the measure calculated by the function
        requiredMeasures - the measures required as inputs to the calculation
      • AbstractDerivedCalculationFunction

        protected AbstractDerivedCalculationFunction​(Class<T> targetType,
                                                     Measure measure,
                                                     Set<Measure> requiredMeasures)
        Creates a new function which calculates one measure for targets of one type.
        Parameters:
        targetType - the target type handled by the function, often a trade
        measure - the measure calculated by the function
        requiredMeasures - the measures required as inputs to the calculation