Package reportgen.math.agregate.agregate

Examples of reportgen.math.agregate.agregate.Aggregate


            //cells can contain something like string constants and another
            // elements independent on models
            extraModel = new HashMap();
        }

        Aggregate calc = function.getCalculator();
        if(calc == null) {
            if(models.size() > 0) {
                Map localModel = makeCompoundModel(models.get(0), extraModel);
                return exp.getValue(localModel);
            }
            return exp.getValue(extraModel);
           
        } else {
            for(Map iModel :models) {
                Map localModel = makeCompoundModel(iModel, extraModel);
                Object iVal = exp.getValue(localModel);
                calc.add(iVal);
            }
            return calc.calculate();
        }

    }
View Full Code Here

TOP

Related Classes of reportgen.math.agregate.agregate.Aggregate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.