public enum BooleanInt extends java.lang.Enum<BooleanInt> implements EnumConverter<BooleanInt>
Modifier and Type | Method and Description |
---|---|
static BooleanInt |
from(java.lang.String value) |
static BooleanInt |
fromInt(java.lang.Integer value) |
java.lang.Integer |
to(BooleanInt v) |
static BooleanInt |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BooleanInt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BooleanInt TRUE
public static final BooleanInt FALSE
public static BooleanInt[] values()
for (BooleanInt c : BooleanInt.values()) System.out.println(c);
public static BooleanInt valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static BooleanInt from(java.lang.String value)
public static BooleanInt fromInt(java.lang.Integer value)
public java.lang.Integer to(BooleanInt v)
to
in interface EnumConverter<BooleanInt>