Package cdm.base.math
Enum ArithmeticOperationEnum
- All Implemented Interfaces:
Serializable,Comparable<ArithmeticOperationEnum>
@RosettaEnum("ArithmeticOperationEnum")
public enum ArithmeticOperationEnum
extends Enum<ArithmeticOperationEnum>
An arithmetic operator that can be passed to a function
- Version:
- 5.30.0
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ArithmeticOperationEnumfromDisplayName(String name) toString()static ArithmeticOperationEnumReturns the enum constant of this type with the specified name.static ArithmeticOperationEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADD
Addition of 2 values -
SUBTRACT
Subtraction of 2nd value from 1st value -
MULTIPLY
Multiplication of 2 values -
DIVIDE
Division of 1st value by 2nd value -
MAX
Maximum of 2 values -
MIN
Minimum of 2 values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromDisplayName
-
toString
- Overrides:
toStringin classEnum<ArithmeticOperationEnum>
-
toDisplayString
-