Documentation of 'net.sf.drawj2d.cmd.AssertCmd' Java class
AssertCmd
net.sf.drawj2d.cmd

Class AssertCmd

  • All Implemented Interfaces:
    Command


    public class AssertCmd
    extends java.lang.Object
    implements Command
    AssertCmd implements the "assert" command, which verifies that an assertion is fulfilled. Actually a mathematical expression is evaluated. If it returns not 1 (== true), an exception is raised. assert "$h > 200" InputCheck
    • Constructor Summary

      Constructors 
      Constructor and Description
      AssertCmd() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Thing cmdCode(Interp interp, Thing[] argv)
      The cmdCode method takes an interpreter and an array of Things, performs some calculations, and returns a Thing representing the computed value, or null.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AssertCmd

        public AssertCmd()
    • Method Detail

      • cmdCode

        public Thing cmdCode(Interp interp,
                             Thing[] argv)
                      throws HeclException
        Description copied from interface: Command
        The cmdCode method takes an interpreter and an array of Things, performs some calculations, and returns a Thing representing the computed value, or null.
        Specified by:
        cmdCode in interface Command
        Parameters:
        interp - an Interp value
        argv - a Thing[] value
        Returns:
        A Thing representing the computed value, or null.
        Throws:
        HeclException - if an error occurs

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.