Class AbstractDimensionCalc

    • Constructor Detail

      • AbstractDimensionCalc

        protected AbstractDimensionCalc​(Exp exp,
                                        Calc[] calcs)
        Creates an AbstractDimensionCalc.
        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