public abstract class Instruction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Instruction |
NOOP_INSTRUCTION |
Constructor and Description |
---|
Instruction(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
InstructionResult |
execute(InstructionExecutor executor) |
protected abstract InstructionResult |
executeInternal(InstructionExecutor executor) |
java.lang.String |
getId() |
int |
hashCode() |
java.lang.String |
toString() |
public static final Instruction NOOP_INSTRUCTION
public java.lang.String getId()
public final InstructionResult execute(InstructionExecutor executor)
protected abstract InstructionResult executeInternal(InstructionExecutor executor) throws SlimException
SlimException
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object