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