engine
Class CaseInstruction

java.lang.Object
  |
  +--engine.Instruction
        |
        +--engine.DefaultInstruction
              |
              +--engine.CaseInstruction

class CaseInstruction
extends DefaultInstruction

See Also:
Serialized Form

Field Summary
(package private)  Instruction choice
           
(package private)  java.util.Vector choices
           
(package private)  Expression sw
           
(package private)  int type
           
 
Fields inherited from class engine.DefaultInstruction
delayBefore, desc, ns, state
 
Fields inherited from class engine.Instruction
next
 
Constructor Summary
(package private) CaseInstruction(NameSpace ns, int db, InstructionDescription desc, int type, Expression e, java.util.Vector v, DefaultInstruction next)
           
 
Method Summary
 void execute()
           
 Instruction next()
           
 
Methods inherited from class engine.DefaultInstruction
checkIfIsAllowedInFunction, toString, waitToRun
 
Methods inherited from class engine.Instruction
add, append
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

sw

Expression sw

choices

java.util.Vector choices

type

int type

choice

Instruction choice
Constructor Detail

CaseInstruction

CaseInstruction(NameSpace ns,
                int db,
                InstructionDescription desc,
                int type,
                Expression e,
                java.util.Vector v,
                DefaultInstruction next)
Method Detail

next

public Instruction next()
Overrides:
next in class Instruction

execute

public void execute()
             throws InterpretTimeException,
                    SimulationStoppedException