Class Coordinates

  • All Implemented Interfaces:
    java.io.Serializable

    public class Coordinates
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • Coordinates

        public Coordinates()
      • Coordinates

        public Coordinates​(double longitude,
                           double latitude)
      • Coordinates

        public Coordinates​(float longitude,
                           float latitude)
    • Method Detail

      • splitCommaSeparatedDoubles

        public static java.lang.Double[] splitCommaSeparatedDoubles​(java.lang.String coordinateString)
                                                             throws GeocoderException
        Throws:
        GeocoderException
      • setCoordinates

        protected void setCoordinates​(double longitude,
                                      double latitude)
      • setCoordinates

        protected void setCoordinates​(float longitude,
                                      float latitude)
      • getLongitude

        public double getLongitude()
      • getLatitude

        public double getLatitude()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object