public static enum BinaryArithmeticOperation.Operation extends Enum<BinaryArithmeticOperation.Operation>
Enum Constant and Description |
---|
ADD |
DIVIDE |
MOD |
MULTIPLY |
QUOT |
SUBTRACT |
Modifier and Type | Method and Description |
---|---|
static BinaryArithmeticOperation.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryArithmeticOperation.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryArithmeticOperation.Operation ADD
public static final BinaryArithmeticOperation.Operation SUBTRACT
public static final BinaryArithmeticOperation.Operation MULTIPLY
public static final BinaryArithmeticOperation.Operation DIVIDE
public static final BinaryArithmeticOperation.Operation QUOT
public static final BinaryArithmeticOperation.Operation MOD
public static BinaryArithmeticOperation.Operation[] values()
for (BinaryArithmeticOperation.Operation c : BinaryArithmeticOperation.Operation.values()) System.out.println(c);
public static BinaryArithmeticOperation.Operation 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 © 2016 JBoss by Red Hat. All rights reserved.