Class Location


  • public class Location
    extends java.lang.Object
    Represents the physical location.
    • Constructor Summary

      Constructors 
      Constructor Description
      Location​(double latitude, double longitude)
      Create Location with latitude and longitude values.
      Location​(double latitude, double longitude, java.lang.Double altitude)
      Create Location with latitude, longitude and altitude values.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Location

        public Location​(double latitude,
                        double longitude,
                        @Nullable
                        java.lang.Double altitude)
        Create Location with latitude, longitude and altitude values.
        Parameters:
        latitude - latitude value.
        longitude - longitude value.
        altitude - altitude value (can be null).
      • Location

        public Location​(double latitude,
                        double longitude)
        Create Location with latitude and longitude values.
        Parameters:
        latitude - latitude value.
        longitude - longitude value.