Enum UtilityTraceFunctionType
- java.lang.Object
-
- java.lang.Enum<UtilityTraceFunctionType>
-
- com.esri.arcgisruntime.utilitynetworks.UtilityTraceFunctionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UtilityTraceFunctionType>
public enum UtilityTraceFunctionType extends java.lang.Enum<UtilityTraceFunctionType>
The type of function calculation to perform.- Since:
- 100.7.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
Computes the sum of the network attribute from each applicable element.AVERAGE
Computes the average value of the network attribute from each applicable element.COUNT
Counts the number of applicable elements.MAX
Computes the maximum value of the network attribute from each applicable element.MIN
Computes the minimum value of the network attribute from each applicable element.SUBTRACT
Takes the network attribute value from the starting point as the base number, and then subtracts the value of the network attribute from each applicable element.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UtilityTraceFunctionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UtilityTraceFunctionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final UtilityTraceFunctionType ADD
Computes the sum of the network attribute from each applicable element.- Since:
- 100.7.0
-
AVERAGE
public static final UtilityTraceFunctionType AVERAGE
Computes the average value of the network attribute from each applicable element.- Since:
- 100.7.0
-
COUNT
public static final UtilityTraceFunctionType COUNT
Counts the number of applicable elements.- Since:
- 100.7.0
-
MAX
public static final UtilityTraceFunctionType MAX
Computes the maximum value of the network attribute from each applicable element.- Since:
- 100.7.0
-
MIN
public static final UtilityTraceFunctionType MIN
Computes the minimum value of the network attribute from each applicable element.- Since:
- 100.7.0
-
SUBTRACT
public static final UtilityTraceFunctionType SUBTRACT
Takes the network attribute value from the starting point as the base number, and then subtracts the value of the network attribute from each applicable element.- Since:
- 100.7.0
-
-
Method Detail
-
values
public static UtilityTraceFunctionType[] 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 (UtilityTraceFunctionType c : UtilityTraceFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UtilityTraceFunctionType 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
-
-