Enum Class OperationType
- All Implemented Interfaces:
Serializable, Comparable<OperationType>, java.lang.constant.Constable
Enum describing the kind of an operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAddition of two values.Cap of a stream value with optional displacement of the excess.Cap of a stream value with equivalent displacement of the excess.Change of a stream value.Conversion of a value to different units.Ordering comparison of two values.Conditional (if-else) selection between two values.Definition of a variable.Division of two values.Random draw from a normal distribution.Random draw from a uniform distribution.Enabling of a stream without setting a value.Equality comparison of two values.Set of a consumption (equals) value.Floor of a stream value with optional displacement of the shortfall.Floor of a stream value with equivalent displacement of the shortfall.Retrieval of a stream value.Retrieval of a variable value.Set of an initial charge.Sequential combination of two operations.Limiting of a value to a range.Logical combination of two values.Multiplication of two values.Any other operation, like those defined outside the built-in set.Exponentiation of one value by another.Value resolved prior to runtime.Servicing (recharge or precharge) of equipment.Recovery of substance.Removal of units from a value.Replacement of one substance with another.Retirement at a constant rate.Retirement of the cohort at an exact age.Retirement following a Weibull survival curve.Retirement at a constant rate with replacement.Set of a stream value.Subtraction of two values. -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationTypeReturns the enum constant of this class with the specified name.static OperationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADDITION
Addition of two values. -
CAP_DISPLACING
Cap of a stream value with equivalent displacement of the excess. -
CAP
Cap of a stream value with optional displacement of the excess. -
CHANGE
Change of a stream value. -
CHANGE_UNITS
Conversion of a value to different units. -
COMPARISON
Ordering comparison of two values. -
CONDITIONAL
Conditional (if-else) selection between two values. -
DEFINE_VARIABLE
Definition of a variable. -
DIVISION
Division of two values. -
DRAW_NORMAL
Random draw from a normal distribution. -
DRAW_UNIFORM
Random draw from a uniform distribution. -
ENABLE
Enabling of a stream without setting a value. -
EQUALITY
Equality comparison of two values. -
EQUALS
Set of a consumption (equals) value. -
FLOOR_DISPLACING
Floor of a stream value with equivalent displacement of the shortfall. -
FLOOR
Floor of a stream value with optional displacement of the shortfall. -
GET_STREAM
Retrieval of a stream value. -
GET_VARIABLE
Retrieval of a variable value. -
INITIAL_CHARGE
Set of an initial charge. -
JOINT
Sequential combination of two operations. -
LIMIT
Limiting of a value to a range. -
LOGICAL
Logical combination of two values. -
MULTIPLICATION
Multiplication of two values. -
POWER
Exponentiation of one value by another. -
PRE_CALCULATED
Value resolved prior to runtime. -
RECHARGE
Servicing (recharge or precharge) of equipment. -
RECOVER
Recovery of substance. -
REMOVE_UNITS
Removal of units from a value. -
REPLACE
Replacement of one substance with another. -
RETIRE
Retirement at a constant rate. -
RETIRE_WEIBULL
Retirement following a Weibull survival curve. -
RETIRE_EXACT
Retirement of the cohort at an exact age. -
RETIRE_WITH_REPLACEMENT
Retirement at a constant rate with replacement. -
SET
Set of a stream value. -
SUBTRACTION
Subtraction of two values. -
OTHER
Any other operation, like those defined outside the built-in set.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-