Class ConditionalGotoOperation

  • All Implemented Interfaces:
    Invokable<Object,​TBasicContextHolderEnv>

    public class ConditionalGotoOperation
    extends GotoOperation
    The CalculateOperation class describes GOTO operation which will be realized if previous condition returned expected result.
    Author:
    User
    • Constructor Detail

      • ConditionalGotoOperation

        public ConditionalGotoOperation​(String label,
                                        boolean expectedCondition)
        Create an instance of ConditionalGotoOperation.
        Parameters:
        label - The label to jump to.
        expectedCondition - expected result of previous calculation of condition(if equals then GOTO will executed else jump to next operation will be performed).