public static enum LineFollowerConfig.Color extends java.lang.Enum<LineFollowerConfig.Color>
Enum Constant and Description |
---|
BLACK |
BLUE |
GREEN |
RED |
UNKNOWN |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static LineFollowerConfig.Color |
getColor(int value) |
int |
getValue() |
static LineFollowerConfig.Color |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineFollowerConfig.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineFollowerConfig.Color BLACK
public static final LineFollowerConfig.Color BLUE
public static final LineFollowerConfig.Color GREEN
public static final LineFollowerConfig.Color RED
public static final LineFollowerConfig.Color UNKNOWN
public static final LineFollowerConfig.Color WHITE
public static final LineFollowerConfig.Color YELLOW
public static LineFollowerConfig.Color getColor(int value)
public int getValue()
public static LineFollowerConfig.Color valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static LineFollowerConfig.Color[] values()
for (LineFollowerConfig.Color c : LineFollowerConfig.Color.values()) System.out.println(c);