engine
Class GenericInstruction

java.lang.Object
  |
  +--engine.Instruction
        |
        +--engine.GenericInstruction

class GenericInstruction
extends Instruction

This is a placeholder for a runtime generated action (such as delayed value updates in monitors). An Executable can be plugged into a GenericInstruction so it can be scheduled at a later time.

See Also:
Serialized Form

Field Summary
(package private)  int state
           
(package private)  Executable target
           
 
Fields inherited from class engine.Instruction
next
 
Constructor Summary
GenericInstruction(Executable target)
           
 
Method Summary
 void execute()
           
 Instruction next()
           
 java.lang.String toString()
           
 
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

target

Executable target

state

int state
Constructor Detail

GenericInstruction

public GenericInstruction(Executable target)
Method Detail

toString

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

execute

public void execute()
             throws InterpretTimeException,
                    SimulationStoppedException

next

public Instruction next()
Overrides:
next in class Instruction