Other Control Structures
JADE provides the control structures listed in the following table.
Instruction | Purpose |
---|---|
break | Breaks out of a loop |
continue | Causes the next iteration of a loop to begin |
return | Terminates execution of a method |
inheritCreate | Invokes the superclass constructor with parameters |
inheritMethod | Invokes the superclass implementation of a method |
terminate | Terminates all active methods |
call | Calls an external function in a library |
importMethod | Calls an imported method |
This section also covers method invocation. For details, see "Method Call", later in this chapter.