public static enum FaultCodes.Bus extends Enum<FaultCodes.Bus>
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Return the enum value's name, but lowercased.
|
static FaultCodes.Bus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaultCodes.Bus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaultCodes.Bus CAN0
public static final FaultCodes.Bus CAN1
public static FaultCodes.Bus[] values()
for (FaultCodes.Bus c : FaultCodes.Bus.values()) System.out.println(c);
public static FaultCodes.Bus 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 nullpublic String toString()
toString in class Enum<FaultCodes.Bus>