Package org.smtlib

Enum Class SMT.Configuration.SMTLIB

java.lang.Object
java.lang.Enum<SMT.Configuration.SMTLIB>
org.smtlib.SMT.Configuration.SMTLIB
All Implemented Interfaces:
Serializable, Comparable<SMT.Configuration.SMTLIB>, Constable
Enclosing class:
SMT.Configuration

public static enum SMT.Configuration.SMTLIB extends Enum<SMT.Configuration.SMTLIB>
Enumeration of the supported SMT-LIB versions, in declaration order from oldest to newest.
  • Enum Constant Details

  • Field Details

    • id

      public String id
      The canonical string identifier for this version (e.g. "V2.6").
  • Method Details

    • values

      public static SMT.Configuration.SMTLIB[] 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 SMT.Configuration.SMTLIB 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SMT.Configuration.SMTLIB>
    • find

      public static SMT.Configuration.SMTLIB find(String id)
      Returns the SMTLIB constant whose id equals the given string, or null if none matches.