public enum Acceptance extends Enum<Acceptance>
Modifier and Type | Method and Description |
---|---|
boolean |
conflicts(boolean val) |
static Acceptance |
fromBoolean(boolean val)
|
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.
|
public static final Acceptance FALSE
public static final Acceptance TRUE
public static final Acceptance DONT_KNOW
public static Acceptance[] values()
for (Acceptance c : Acceptance.values()) System.out.println(c);
public static Acceptance 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 static Acceptance fromBoolean(boolean val)
val
- the boolean valuepublic boolean conflicts(boolean val)
Copyright © 2015. All Rights Reserved.