public static enum DangerousSlowdown.Severity extends Enum<DangerousSlowdown.Severity>
Enum Constant and Description |
---|
SEVERITY_1
A slowdown with 15mph (35km/h) - 25mph (40km/h) delta.
|
SEVERITY_2
A slowdown with > 25mph (40km/h) - 35mph (56km/h) delta.
|
SEVERITY_3
A slowdown with > 35mph (56km/h) - 45mph (72km/h) delta.
|
SEVERITY_4
A slowdown with > 45mph (72km/h) - 60mph (96km/h) delta.
|
SEVERITY_5
A slowdown with delta over 60mph (96km/h).
|
UNKNOWN
Severity of the slowdown is unknown.
|
Modifier and Type | Method and Description |
---|---|
static DangerousSlowdown.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DangerousSlowdown.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DangerousSlowdown.Severity UNKNOWN
public static final DangerousSlowdown.Severity SEVERITY_1
public static final DangerousSlowdown.Severity SEVERITY_2
public static final DangerousSlowdown.Severity SEVERITY_3
public static final DangerousSlowdown.Severity SEVERITY_4
public static final DangerousSlowdown.Severity SEVERITY_5
public static DangerousSlowdown.Severity[] values()
for (DangerousSlowdown.Severity c : DangerousSlowdown.Severity.values()) System.out.println(c);
public static DangerousSlowdown.Severity 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 nullCopyright © 2013-2018 INRIX, Inc. All Rights Reserved.