Class LonLatCacheKey

    • Constructor Detail

      • LonLatCacheKey

        public LonLatCacheKey​(float longitude,
                              float latitude,
                              int allowedDistanceMargin)
        Instantiates a new lon lat cache key.
        Parameters:
        longitude - the longitude
        latitude - the latitude
        allowedDistanceMargin - the allowed distance margin
      • LonLatCacheKey

        public LonLatCacheKey​(float longitude,
                              float latitude,
                              String origCty,
                              int allowedDistanceMargin)
        Instantiates a new lon lat cache key.
        Parameters:
        longitude - the longitude
        latitude - the latitude
        origCty - the orig cty
        allowedDistanceMargin - the allowed distance margin
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getLongitude

        public float getLongitude()
        Gets the longitude.
        Returns:
        the longitude
      • getLatitude

        public float getLatitude()
        Gets the latitude.
        Returns:
        the latitude
      • getAllowedDistanceMargin

        public int getAllowedDistanceMargin()
        Gets the allowed distance margin.
        Returns:
        the allowed distance margin
      • getOrigCty

        public String getOrigCty()
        Gets the orig cty.
        Returns:
        the orig cty