public enum Function2 extends Enum<Function2>
| Enum Constant and Description |
|---|
ADD
Add the data
|
CONSTANT
Transforms the input into a constant value
|
DIVIDE
Divide the data
|
EXPONENT
Calculate exponentiation of the data
|
LEFT_SHIFT
Perform left shift
|
MODULUS
Calculate the remainder
|
MULTIPLY
Multiply the data
|
RIGHT_SHIFT
Perform right shift
|
SUBTRACT
Subtract the data
|
| Modifier and Type | Method and Description |
|---|---|
static Function2 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Function2[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Function2 ADD
public static final Function2 MULTIPLY
public static final Function2 DIVIDE
public static final Function2 MODULUS
public static final Function2 EXPONENT
public static final Function2 LEFT_SHIFT
public static final Function2 RIGHT_SHIFT
public static final Function2 SUBTRACT
public static final Function2 CONSTANT
public static Function2[] values()
for (Function2 c : Function2.values()) System.out.println(c);
public static Function2 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