com.baidubce.services.dugo.model
Enum CoordType
java.lang.Object
java.lang.Enum<CoordType>
com.baidubce.services.dugo.model.CoordType
- All Implemented Interfaces:
- Serializable, Comparable<CoordType>
public enum CoordType
- extends Enum<CoordType>
Coord type
|
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. |
bd09ll
public static final CoordType bd09ll
wgs84
public static final CoordType wgs84
gcj02
public static final CoordType gcj02
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.