Module org.arakhne.afc.gis.giscore
Package org.arakhne.afc.gis.coordinate
Enum GeodesicPositionStringRepresentation
- java.lang.Object
-
- java.lang.Enum<GeodesicPositionStringRepresentation>
-
- org.arakhne.afc.gis.coordinate.GeodesicPositionStringRepresentation
-
- All Implemented Interfaces:
Serializable
,Comparable<GeodesicPositionStringRepresentation>
public enum GeodesicPositionStringRepresentation extends Enum<GeodesicPositionStringRepresentation>
Describes the types of string representations for the geodesic positions.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:53
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- giscore
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEGREE
Degree only.DEGREE_MINUTE
Degree Minute.DEGREE_MINUTE_SECOND
Degree Minute Second.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeodesicPositionStringRepresentation
valueOf(String name)
Returns the enum constant of this type with the specified name.static GeodesicPositionStringRepresentation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEGREE_MINUTE_SECOND
public static final GeodesicPositionStringRepresentation DEGREE_MINUTE_SECOND
Degree Minute Second.
-
DEGREE_MINUTE
public static final GeodesicPositionStringRepresentation DEGREE_MINUTE
Degree Minute.
-
DEGREE
public static final GeodesicPositionStringRepresentation DEGREE
Degree only.
-
-
Method Detail
-
values
public static GeodesicPositionStringRepresentation[] 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 (GeodesicPositionStringRepresentation c : GeodesicPositionStringRepresentation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeodesicPositionStringRepresentation 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 nameNullPointerException
- if the argument is null
-
-