Class Conditional.Start

  • All Implemented Interfaces:
    Command
    Enclosing class:
    Conditional

    public static final class Conditional.Start
    extends java.lang.Object
    implements Command
    • Constructor Summary

      Constructors 
      Constructor Description
      Start​(java.lang.String variable, boolean expectedTruthValue)  
    • Constructor Detail

      • Start

        public Start​(java.lang.String variable,
                     boolean expectedTruthValue)
    • Method Detail

      • accept

        public void accept​(CommandVisitor visitor)
        Description copied from interface: Command
        Accept a visitor.
        Specified by:
        accept in interface Command
        Parameters:
        visitor - the visitor that will process this command
      • getVariable

        public java.lang.String getVariable()
      • getExpectedTruthValue

        public boolean getExpectedTruthValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object