Package com.singularsys.jeptests.system

# Class NullWrapTest.MyNary

java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.NaryFunction
com.singularsys.jeptests.system.NullWrapTest.MyNary

All Implemented Interfaces:
  `PostfixMathCommandI`, `Serializable`

Enclosing class:
  `NullWrapTest`

public static class NullWrapTest.MyNary extends NaryFunction
An nary 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
  `MyNary()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `eval(Object[] vals)`
  Evaluate the function

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

  `run`

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

  `asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, asType, checkNumberOfParameters, 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

  - ### MyNary

    public MyNary()

- ## Method Details

  - ### eval

    public Object eval(Object[] vals) throws EvaluationException
    Description copied from class: `NaryFunction`
    Evaluate the function
    Specified by:
      `eval` in class `NaryFunction`
    Parameters:
      `vals` - arguments to the function
    Returns:
      value returned by the function
    Throws:
      `EvaluationException` - if the calculation cannot be performed