Enum CurbApproach
- java.lang.Object
-
- java.lang.Enum<CurbApproach>
-
- com.esri.arcgisruntime.tasks.networkanalysis.CurbApproach
-
- All Implemented Interfaces:
Serializable
,Comparable<CurbApproach>
public enum CurbApproach extends Enum<CurbApproach>
Specifies the direction a vehicle may arrive at and depart from the network location. For example, a school bus must approach and depart a school from its door side so that students entering/exiting the bus will not have to cross the street.- Since:
- 100.0.0
- See Also:
- http://desktop.arcgis.com/en/arcmap/latest/extensions/network-analyst/u-turn-policies.htm
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EITHER_SIDE
Either side.LEFT_SIDE
Left side.NO_UTURN
No uturn.RIGHT_SIDE
Right side.UNKNOWN
Unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CurbApproach
valueOf(String name)
Returns the enum constant of this type with the specified name.static CurbApproach[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final CurbApproach UNKNOWN
Unknown.
-
EITHER_SIDE
public static final CurbApproach EITHER_SIDE
Either side.- Since:
- 100.0.0
-
LEFT_SIDE
public static final CurbApproach LEFT_SIDE
Left side.- Since:
- 100.0.0
-
RIGHT_SIDE
public static final CurbApproach RIGHT_SIDE
Right side.- Since:
- 100.0.0
-
NO_UTURN
public static final CurbApproach NO_UTURN
No uturn.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static CurbApproach[] 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 (CurbApproach c : CurbApproach.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CurbApproach valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-