public enum Op1 extends java.lang.Enum<Op1> implements WithBytecode
| Modifier and Type | Method and Description |
|---|---|
Bytecode |
getBytecode() |
static Op1 |
getOp(java.lang.String name)
Translates a name into an operator.
|
java.lang.Object |
run(java.lang.Object a) |
java.lang.String |
toString() |
static Op1 |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Op1[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Op1 MINUS
public static final Op1 NOT
public static Op1[] values()
for (Op1 c : Op1.values()) System.out.println(c);
public static Op1 valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic Bytecode getBytecode()
getBytecode in interface WithBytecodeBytecodepublic java.lang.Object run(java.lang.Object a)
a - the object on which the Op1 should be runpublic java.lang.String toString()
toString in class java.lang.Enum<Op1>