Package org.djutils.cli
Class TestCliRegisterConverter.LatLon
java.lang.Object
org.djutils.cli.TestCliRegisterConverter.LatLon
- Enclosing class:
- TestCliRegisterConverter
lat/lon object that can be parsed.
-
Constructor Details
-
LatLon
public LatLon(double lat, double lon) - Parameters:
lat
- latlon
- lon
-
-
Method Details
-
getLat
public double getLat()- Returns:
- lat
-
getLon
public double getLon()- Returns:
- lon
-
of
parse a string of the form (lat, lon).- Parameters:
latlon
- the string to parse- Returns:
- the LatLon object
- Throws:
RuntimeException
- on error
-