Class ExamineResultTypes

java.lang.Object
com.singularsys.jepexamples.diagnostics.ExamineResultTypes

public class ExamineResultTypes extends Object
Class to examine the results types of the various operators and function. Can be called with 1 argument to just test a function or operator with that name java ExamineResultTypes sin java ExamineResultTypes +
Author:
Richard Morris
  • Constructor Details

  • Method Details

    • examineTypes

      public void examineTypes(String name, PostfixMathCommandI pfmc)
      Tests return types for a specific PostfixMathCommandI will test for 0,1,2 and 3 parameters
    • examineTypes

      public void examineTypes(String name, PostfixMathCommandI pfmc, int n)
      Tests return types for a specific PostfixMathCommandI with a specific number of parameters
    • main

      public static void main(String[] args)
      Parameters:
      args -