com.baidubce.services.ros.model.matrix
Enum MatrixCreateRequest.LbsType

java.lang.Object
  extended by java.lang.Enum<MatrixCreateRequest.LbsType>
      extended by 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>


Enum Constant Summary
HIGHWAY_FIRST
           
LEAST_CONGESTION
           
LEAST_DISTANCE
           
LEAST_TIME
           
LEAST_TOLL
           
NO_HIGHWAY
           
 
Method Summary
 int getTypeValue()
           
static MatrixCreateRequest.LbsType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MatrixCreateRequest.LbsType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.