Enum Stop.Type
- java.lang.Object
-
- java.lang.Enum<Stop.Type>
-
- com.esri.arcgisruntime.tasks.networkanalysis.Stop.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REST_BREAK
Rest break.STOP
Stop.WAYPOINT
Waypoint.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stop.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Stop.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOP
public static final Stop.Type STOP
Stop. A location where a vehicle would arrive and/or depart.- Since:
- 100.1.0
-
WAYPOINT
public static final Stop.Type WAYPOINT
Waypoint. A location between stops that a route must pass through.- Since:
- 100.1.0
-
REST_BREAK
public static final Stop.Type REST_BREAK
Rest break. A location where a route pauses for example for a required lunch break.- Since:
- 100.1.0
-
-
Method Detail
-
values
public static Stop.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Stop.Type c : Stop.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Stop.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-