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