Package org.eolang.opeo
Class Instruction.Nop
java.lang.Object
org.eolang.opeo.Instruction.Nop
- All Implemented Interfaces:
Instruction
- Enclosing interface:
- Instruction
Not an operation instruction.
Stub class that is useful for some cases.
- Since:
- 0.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eolang.opeo.Instruction
Instruction.Nop
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Nop
public Nop()
-
-
Method Details
-
opcode
public int opcode()Description copied from interface:Instruction
Opcode number.- Specified by:
opcode
in interfaceInstruction
- Returns:
- Opcode number.
-
operand
Description copied from interface:Instruction
Retrieve operand by position index.- Specified by:
operand
in interfaceInstruction
- Parameters:
index
- Operand index- Returns:
- Operand
-
operands
Description copied from interface:Instruction
Full list of operands.- Specified by:
operands
in interfaceInstruction
- Returns:
- Operands.
-