public enum ArithmeticFunction extends Enum<ArithmeticFunction>
| Enum Constant and Description |
|---|
DIVIDE |
MINUS |
MULTIPLY |
PLUS |
QUOTIENT |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static ArithmeticFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArithmeticFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArithmeticFunction PLUS
public static final ArithmeticFunction MINUS
public static final ArithmeticFunction MULTIPLY
public static final ArithmeticFunction DIVIDE
public static final ArithmeticFunction QUOTIENT
public static ArithmeticFunction[] values()
for (ArithmeticFunction c : ArithmeticFunction.values()) System.out.println(c);
public static ArithmeticFunction 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 nullpublic String getValue()
Copyright © 2019. All rights reserved.