Class AbstractLevelCalc

    • Constructor Detail

      • AbstractLevelCalc

        protected AbstractLevelCalc​(Exp exp,
                                    Calc[] calcs)
        Creates an AbstractLevelCalc.
        Parameters:
        exp - Source expression
        calcs - Child compiled expressions
    • Method Detail

      • evaluate

        public Object evaluate​(Evaluator evaluator)
        Description copied from interface: Calc
        Evaluates this expression.
        Specified by:
        evaluate in interface Calc
        Parameters:
        evaluator - Provides dimensional context in which to evaluate this expression
        Returns:
        Result of expression evaluation