Class MathParser



  • public class MathParser
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(java.lang.String expression)
      Evaluates the specified expression
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MathParser

        public MathParser​()
        Constructor
      • MathParser

        public MathParser​(MeteoDataInfo aDataInfo)
        Constructor
        Parameters:
        aDataInfo - MeteoDataInfo
    • Method Detail

      • evaluate

        public java.lang.Object evaluate​(java.lang.String expression)
                                  throws ParseException,
                                         java.io.IOException
        Evaluates the specified expression
        Parameters:
        expression - The expression to evaluate
        Returns:
        The evaluated result
        Throws:
        ParseException
        java.io.IOException