Enum BuiltIn.Eqtype

java.lang.Object
java.lang.Enum<BuiltIn.Eqtype>
net.hydromatic.morel.compile.BuiltIn.Eqtype
All Implemented Interfaces:
Serializable, Comparable<BuiltIn.Eqtype>, java.lang.constant.Constable, BuiltIn.BuiltInType
Enclosing class:
BuiltIn

public static enum BuiltIn.Eqtype extends Enum<BuiltIn.Eqtype> implements BuiltIn.BuiltInType
Built-in equality type.
  • Enum Constant Details

  • Field Details

    • mlName

      private final String mlName
    • varCount

      private final int varCount
  • Constructor Details

    • Eqtype

      private Eqtype(String mlName, int varCount)
  • Method Details

    • values

      public static BuiltIn.Eqtype[] 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

      public static BuiltIn.Eqtype valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • mlName

      public String mlName()
      Specified by:
      mlName in interface BuiltIn.BuiltInType
    • varCount

      public int varCount()
      Specified by:
      varCount in interface BuiltIn.BuiltInType