Package com.yahoo.geo
Class ParsedDegree
- java.lang.Object
-
- com.yahoo.geo.ParsedDegree
-
public class ParsedDegree extends java.lang.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(java.lang.String toParse, boolean assumeLatitude, boolean assumeLongitude)
java.lang.String
toString()
-
-
-
Method Detail
-
fromString
public static ParsedDegree fromString(java.lang.String toParse, boolean assumeLatitude, boolean assumeLongitude)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-