Interface MaleStringExpressionSocket

    • Method Detail

      • evaluate

        java.lang.String evaluate()
                           throws JmriException
        Evaluate this expression.

        This method must ensure that the value is not a Double.NaN, negative infinity or positive infinity. If that is the case, it must throw an IllegalArgumentException before checking if an error has occured.

        Specified by:
        evaluate in interface StringExpression
        Returns:
        the result of the evaluation
        Throws:
        JmriException - when an exception occurs