public static enum Word.Opcode extends Enum<Word.Opcode>
Word.Operation
represented by a method in the Word
class.Enum Constant and Description |
---|
COMPARISON |
FROM_ADDRESS |
FROM_OBJECT |
FROM_SIGNED |
FROM_UNSIGNED |
FROM_WORDBASE |
INITIALIZE |
NODE_CLASS |
NOT |
READ_BARRIERED |
READ_HEAP |
READ_OBJECT |
READ_POINTER |
TO_OBJECT |
TO_RAW_VALUE |
WRITE_BARRIERED |
WRITE_OBJECT |
WRITE_POINTER |
ZERO |
Modifier and Type | Method and Description |
---|---|
static Word.Opcode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Word.Opcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Word.Opcode NODE_CLASS
public static final Word.Opcode COMPARISON
public static final Word.Opcode NOT
public static final Word.Opcode READ_POINTER
public static final Word.Opcode READ_OBJECT
public static final Word.Opcode READ_BARRIERED
public static final Word.Opcode READ_HEAP
public static final Word.Opcode WRITE_POINTER
public static final Word.Opcode WRITE_OBJECT
public static final Word.Opcode WRITE_BARRIERED
public static final Word.Opcode INITIALIZE
public static final Word.Opcode ZERO
public static final Word.Opcode FROM_UNSIGNED
public static final Word.Opcode FROM_SIGNED
public static final Word.Opcode FROM_OBJECT
public static final Word.Opcode FROM_WORDBASE
public static final Word.Opcode FROM_ADDRESS
public static final Word.Opcode TO_OBJECT
public static final Word.Opcode TO_RAW_VALUE
public static Word.Opcode[] values()
for (Word.Opcode c : Word.Opcode.values()) System.out.println(c);
public static Word.Opcode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null