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