Enum Class Kleenean

java.lang.Object
java.lang.Enum<Kleenean>
adalid.core.enums.Kleenean
All Implemented Interfaces:
Serializable, Comparable<Kleenean>, Constable

public enum Kleenean extends Enum<Kleenean>
Author:
Jorge Campins
  • Enum Constant Details

    • UNSPECIFIED

      public static final Kleenean UNSPECIFIED
    • TRUE

      public static final Kleenean TRUE
    • FALSE

      public static final Kleenean FALSE
  • Method Details

    • values

      public static Kleenean[] 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 Kleenean 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
    • valueOf

      public static Kleenean valueOf(Boolean value)
      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:
      value - 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
    • toBoolean

      public Boolean toBoolean()
    • toBoolean

      public Boolean toBoolean(Boolean unspecified)
    • toBoolean

      public boolean toBoolean(boolean unspecified)