Enum Class OperationType

java.lang.Object
java.lang.Enum<OperationType>
org.kigalisim.lang.operation.OperationType
All Implemented Interfaces:
Serializable, Comparable<OperationType>, java.lang.constant.Constable

public enum OperationType extends Enum<OperationType>
Enum describing the kind of an operation.
  • Enum Constant Details

    • ADDITION

      public static final OperationType ADDITION
      Addition of two values.
    • CAP_DISPLACING

      public static final OperationType CAP_DISPLACING
      Cap of a stream value with equivalent displacement of the excess.
    • CAP

      public static final OperationType CAP
      Cap of a stream value with optional displacement of the excess.
    • CHANGE

      public static final OperationType CHANGE
      Change of a stream value.
    • CHANGE_UNITS

      public static final OperationType CHANGE_UNITS
      Conversion of a value to different units.
    • COMPARISON

      public static final OperationType COMPARISON
      Ordering comparison of two values.
    • CONDITIONAL

      public static final OperationType CONDITIONAL
      Conditional (if-else) selection between two values.
    • DEFINE_VARIABLE

      public static final OperationType DEFINE_VARIABLE
      Definition of a variable.
    • DIVISION

      public static final OperationType DIVISION
      Division of two values.
    • DRAW_NORMAL

      public static final OperationType DRAW_NORMAL
      Random draw from a normal distribution.
    • DRAW_UNIFORM

      public static final OperationType DRAW_UNIFORM
      Random draw from a uniform distribution.
    • ENABLE

      public static final OperationType ENABLE
      Enabling of a stream without setting a value.
    • EQUALITY

      public static final OperationType EQUALITY
      Equality comparison of two values.
    • EQUALS

      public static final OperationType EQUALS
      Set of a consumption (equals) value.
    • FLOOR_DISPLACING

      public static final OperationType FLOOR_DISPLACING
      Floor of a stream value with equivalent displacement of the shortfall.
    • FLOOR

      public static final OperationType FLOOR
      Floor of a stream value with optional displacement of the shortfall.
    • GET_STREAM

      public static final OperationType GET_STREAM
      Retrieval of a stream value.
    • GET_VARIABLE

      public static final OperationType GET_VARIABLE
      Retrieval of a variable value.
    • INITIAL_CHARGE

      public static final OperationType INITIAL_CHARGE
      Set of an initial charge.
    • JOINT

      public static final OperationType JOINT
      Sequential combination of two operations.
    • LIMIT

      public static final OperationType LIMIT
      Limiting of a value to a range.
    • LOGICAL

      public static final OperationType LOGICAL
      Logical combination of two values.
    • MULTIPLICATION

      public static final OperationType MULTIPLICATION
      Multiplication of two values.
    • POWER

      public static final OperationType POWER
      Exponentiation of one value by another.
    • PRE_CALCULATED

      public static final OperationType PRE_CALCULATED
      Value resolved prior to runtime.
    • RECHARGE

      public static final OperationType RECHARGE
      Servicing (recharge or precharge) of equipment.
    • RECOVER

      public static final OperationType RECOVER
      Recovery of substance.
    • REMOVE_UNITS

      public static final OperationType REMOVE_UNITS
      Removal of units from a value.
    • REPLACE

      public static final OperationType REPLACE
      Replacement of one substance with another.
    • RETIRE

      public static final OperationType RETIRE
      Retirement at a constant rate.
    • RETIRE_WEIBULL

      public static final OperationType RETIRE_WEIBULL
      Retirement following a Weibull survival curve.
    • RETIRE_EXACT

      public static final OperationType RETIRE_EXACT
      Retirement of the cohort at an exact age.
    • RETIRE_WITH_REPLACEMENT

      public static final OperationType RETIRE_WITH_REPLACEMENT
      Retirement at a constant rate with replacement.
    • SET

      public static final OperationType SET
      Set of a stream value.
    • SUBTRACTION

      public static final OperationType SUBTRACTION
      Subtraction of two values.
    • OTHER

      public static final OperationType OTHER
      Any other operation, like those defined outside the built-in set.
  • Method Details

    • values

      public static OperationType[] 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

      public static OperationType valueOf(String name)
      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 name
      NullPointerException - if the argument is null