public enum TeamColor extends Enum<TeamColor>
| Enum Constant and Description |
|---|
AQUA |
BLACK |
BLUE |
DARK_BLUE |
DARK_GRAY |
DARK_GREEN |
DARK_PURPLE |
DARK_RED |
GOLD |
GRAY |
GREEN |
LIGHT_PURPLE |
RED |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static TeamColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TeamColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TeamColor BLACK
public static final TeamColor DARK_BLUE
public static final TeamColor DARK_GREEN
public static final TeamColor RED
public static final TeamColor DARK_PURPLE
public static final TeamColor GOLD
public static final TeamColor GRAY
public static final TeamColor DARK_GRAY
public static final TeamColor BLUE
public static final TeamColor GREEN
public static final TeamColor AQUA
public static final TeamColor LIGHT_PURPLE
public static final TeamColor YELLOW
public static final TeamColor WHITE
public static final TeamColor DARK_RED
public static TeamColor[] values()
for (TeamColor c : TeamColor.values()) System.out.println(c);
public static TeamColor 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 © 2019. All rights reserved.