Class Str

All Implemented Interfaces:
PostfixMathCommandI, Serializable

public class Str extends UnaryFunction
Converts an object into its string representation. Calls the toString method of the object.
Author:
Rich Morris Created on 27-Mar-2004
See Also:
  • Constructor Details

    • Str

      public Str()
  • Method Details

    • eval

      public Object eval(Object arg)
      Description copied from class: UnaryFunction
      Evaluate the function
      Specified by:
      eval in class UnaryFunction
      Parameters:
      arg - the single argument passed in
      Returns:
      the result of the function