public enum OutcomeResult extends Enum<OutcomeResult>
Enum Constant and Description |
---|
Lost |
UndecidedYet |
Won |
Modifier and Type | Method and Description |
---|---|
static OutcomeResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutcomeResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutcomeResult Lost
public static final OutcomeResult Won
public static final OutcomeResult UndecidedYet
public static OutcomeResult[] values()
for (OutcomeResult c : OutcomeResult.values()) System.out.println(c);
public static OutcomeResult 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 © 2016–2025. All rights reserved.