com.baidubce.services.dugo.model
Enum CoordType

java.lang.Object
  extended by java.lang.Enum<CoordType>
      extended by com.baidubce.services.dugo.model.CoordType
All Implemented Interfaces:
Serializable, Comparable<CoordType>

public enum CoordType
extends Enum<CoordType>

Coord type


Enum Constant Summary
bd09ll
           
gcj02
           
wgs84
           
 
Method Summary
 String getValue()
           
static CoordType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CoordType[] 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

bd09ll

public static final CoordType bd09ll

wgs84

public static final CoordType wgs84

gcj02

public static final CoordType gcj02
Method Detail

values

public static CoordType[] 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 (CoordType c : CoordType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CoordType 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

getValue

public String getValue()


Copyright © 2020. All rights reserved.