Package com.singularsys.jeptests.system

# Class NullWrapTest.MyNaryBinary

java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.NaryBinaryFunction
com.singularsys.jeptests.system.NullWrapTest.MyNaryBinary

All Implemented Interfaces:
  `PostfixMathCommandI`, `Serializable`

Enclosing class:
  `NullWrapTest`

public static class NullWrapTest.MyNaryBinary extends NaryBinaryFunction
An nary binary function

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand

  `curNumberOfParameters, description, name, NaN, numberOfParameters`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MyNaryBinary()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `eval(Object l, Object r)`
  Evaluate given a pair of arguments.

  ### Methods inherited from class com.singularsys.jep.functions.NaryBinaryFunction

  `checkNumberOfParameters, eval, instanceOf, instanceOf, instanceOf, instanceOf, run`

  ### Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand

  `asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, asType, getDescription, getDescription, getDescriptionWithType, getName, getNumberOfParameters, setCurNumberOfParameters, setDescription, setName, toString, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### MyNaryBinary

    public MyNaryBinary()

- ## Method Details

  - ### eval

    public Object eval(Object l, Object r) throws EvaluationException
    Description copied from class: `NaryBinaryFunction`
    Evaluate given a pair of arguments. Must be specified for all implementing classes.
    Specified by:
      `eval` in class `NaryBinaryFunction`
    Parameters:
      `l` - lhs argument
      `r` - rhs argument
    Returns:
      result of applying the function to the arguments
    Throws:
      `EvaluationException` - on error.