public enum OpClass extends Enum<OpClass>
Enum Constant and Description |
---|
ARG_OP |
BOOK_KEEPING_OP |
BRANCH_OP |
CALL_OP |
FLOAT_OP |
INT_OP |
OTHER_OP |
RET_OP |
Modifier and Type | Method and Description |
---|---|
static OpClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpClass ARG_OP
public static final OpClass BOOK_KEEPING_OP
public static final OpClass BRANCH_OP
public static final OpClass CALL_OP
public static final OpClass FLOAT_OP
public static final OpClass INT_OP
public static final OpClass RET_OP
public static final OpClass OTHER_OP
public static OpClass[] values()
for (OpClass c : OpClass.values()) System.out.println(c);
public static OpClass 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 nullCopyright © 2001-2015 JRuby. All Rights Reserved.