Package com.yahoo.geo
Class ParsedDegree
- java.lang.Object
-
- com.yahoo.geo.ParsedDegree
-
public class ParsedDegree extends Object
Utility for holding one geographical coordinate- Author:
- arnej27959
-
-
Field Summary
Fields Modifier and Type Field Description double
degrees
the parsed latitude or longitude Degrees north or east if positive Degrees south or west if negativeboolean
isLatitude
boolean
isLongitude
-
Constructor Summary
Constructors Constructor Description ParsedDegree(double value, boolean isLat, boolean isLon)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParsedDegree
fromString(String toParse, boolean assumeLatitude, boolean assumeLongitude)
String
toString()
-
-
-
Method Detail
-
fromString
public static ParsedDegree fromString(String toParse, boolean assumeLatitude, boolean assumeLongitude)
-
-