Class CostUtil


  • public class CostUtil
    extends Object
    • Method Detail

      • getInstance

        public static CostUtil getInstance()
      • getDoubleFromSpecification

        public double getDoubleFromSpecification​(String specification)
      • resetCache

        public void resetCache()
      • getTotalCost

        public static double getTotalCost​(Cost cost)
      • getTotalCost

        public static double getTotalCost​(double initialCost,
                                          double operatingCost,
                                          double interest,
                                          int numberOfYears)