Interface MaleStringExpressionSocket

All Superinterfaces:
Base, Comparable<NamedBean>, Debugable, MaleSocket, NamedBean, PropertyChangeProvider, StringExpression, StringExpressionBean
All Known Implementing Classes:
DebuggerMaleStringExpressionSocket, DefaultMaleStringExpressionSocket

public interface MaleStringExpressionSocket
extends MaleSocket, StringExpressionBean
A LogixNG male StringExpressionBean socket.
  • Method Details

    • evaluate

      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