Class AbstractGeoLocation

    • Constructor Detail

      • AbstractGeoLocation

        public AbstractGeoLocation()
    • Method Detail

      • toString

        @Pure
        public final String toString()
        Description copied from interface: GeoLocation
        Replies the string representation of the geo-location.
        Specified by:
        toString in interface GeoLocation
        Overrides:
        toString in class Object
        Returns:
        the string representation of this location
      • toUUID

        @Pure
        public final UUID toUUID()
        Description copied from interface: GeoLocation
        Replies the UUID of the geo-location.
        Specified by:
        toUUID in interface GeoLocation
        Returns:
        the UUID of this location
      • equals

        @Pure
        public final boolean equals​(Object location)
        Replies if the specified location is equals to this one.
        Specified by:
        equals in interface GeoLocation
        Overrides:
        equals in class Object
        Parameters:
        location - the location to test.
        Returns:
        true if the given location is equal to this location, otherwise false
      • hashCode

        @Pure
        public abstract int hashCode()
        Overrides:
        hashCode in class Object