public static enum DriverStation.MatchType extends java.lang.Enum<DriverStation.MatchType>
Enum Constant and Description |
---|
Elimination |
None |
Practice |
Qualification |
Modifier and Type | Method and Description |
---|---|
static DriverStation.MatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DriverStation.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriverStation.MatchType None
public static final DriverStation.MatchType Practice
public static final DriverStation.MatchType Qualification
public static final DriverStation.MatchType Elimination
public static DriverStation.MatchType[] values()
for (DriverStation.MatchType c : DriverStation.MatchType.values()) System.out.println(c);
public static DriverStation.MatchType 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 null