com.baidubce.services.ros.model.matrix
Enum MatrixCreateRequest.LbsType
java.lang.Object
java.lang.Enum<MatrixCreateRequest.LbsType>
com.baidubce.services.ros.model.matrix.MatrixCreateRequest.LbsType
- All Implemented Interfaces:
- Serializable, Comparable<MatrixCreateRequest.LbsType>
- Enclosing class:
- MatrixCreateRequest
public static enum MatrixCreateRequest.LbsType
- extends Enum<MatrixCreateRequest.LbsType>
LEAST_TIME
public static final MatrixCreateRequest.LbsType LEAST_TIME
LEAST_DISTANCE
public static final MatrixCreateRequest.LbsType LEAST_DISTANCE
NO_HIGHWAY
public static final MatrixCreateRequest.LbsType NO_HIGHWAY
HIGHWAY_FIRST
public static final MatrixCreateRequest.LbsType HIGHWAY_FIRST
LEAST_CONGESTION
public static final MatrixCreateRequest.LbsType LEAST_CONGESTION
LEAST_TOLL
public static final MatrixCreateRequest.LbsType LEAST_TOLL
values
public static MatrixCreateRequest.LbsType[] 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 (MatrixCreateRequest.LbsType c : MatrixCreateRequest.LbsType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MatrixCreateRequest.LbsType 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 name
NullPointerException - if the argument is null
getTypeValue
public int getTypeValue()
Copyright © 2020. All rights reserved.