public enum TrueFalse extends Enum<TrueFalse>
Modifier and Type | Method and Description |
---|---|
boolean |
toBoolean() |
static TrueFalse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrueFalse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrueFalse TRUE
public static final TrueFalse FALSE
public static TrueFalse[] values()
for (TrueFalse c : TrueFalse.values()) System.out.println(c);
public static TrueFalse valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean toBoolean()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.