Package net.automatalib.incremental.dfa
Enum Acceptance
- java.lang.Object
-
- java.lang.Enum<Acceptance>
-
- net.automatalib.incremental.dfa.Acceptance
-
- All Implemented Interfaces:
Serializable
,Comparable<Acceptance>
public enum Acceptance extends Enum<Acceptance>
Tri-state acceptance value.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
conflicts(boolean val)
static Acceptance
fromBoolean(boolean val)
abstract boolean
toBoolean()
static Acceptance
valueOf(String name)
Returns the enum constant of this type with the specified name.static Acceptance[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FALSE
public static final Acceptance FALSE
-
TRUE
public static final Acceptance TRUE
-
DONT_KNOW
public static final Acceptance DONT_KNOW
-
-
Method Detail
-
values
public static Acceptance[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Acceptance c : Acceptance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Acceptance 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 nameNullPointerException
- if the argument is null
-
fromBoolean
public static Acceptance fromBoolean(boolean val)
- Parameters:
val
- the boolean value- Returns:
- the corresponding acceptance value
-
conflicts
public boolean conflicts(boolean val)
-
toBoolean
public abstract boolean toBoolean()
-
-