Module dev.civl.gmc

Enum Class ProvisoValue

java.lang.Object
java.lang.Enum<ProvisoValue>
dev.civl.gmc.concurrent.ProvisoValue
All Implemented Interfaces:
Serializable, Comparable<ProvisoValue>, Constable

public enum ProvisoValue extends Enum<ProvisoValue>
This enumeration stores the result of checking "stack proviso" of a STATE in the STATE-TRANSITION system.
  • UNKNOWN means that "stack proviso" has not been checked yet.
  • TRUE means that the STATE satisfies "stack proviso".
  • FALSE means that the STATE does not satisfy "stack proviso".
  • Enum Constant Details

  • Method Details

    • values

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