public enum Credibility extends Enum<Credibility>
Enum Constant and Description |
---|
MAYBE
May be reliable.
|
NO
Probably or certainly unreliable.
|
YES
Probably or certainly reliable.
|
Modifier and Type | Method and Description |
---|---|
static Credibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Credibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Credibility YES
public static final Credibility MAYBE
public static final Credibility NO
public static Credibility[] values()
for (Credibility c : Credibility.values()) System.out.println(c);
public static Credibility 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 nullCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.