Class MatchedGeoLocation

java.lang.Object
com.algolia.model.search.MatchedGeoLocation

public class MatchedGeoLocation extends Object
MatchedGeoLocation
  • Constructor Details

    • MatchedGeoLocation

      public MatchedGeoLocation()
  • Method Details

    • setLat

      public MatchedGeoLocation setLat(Double lat)
    • getLat

      @Nullable public Double getLat()
      Latitude of the matched location.
      Returns:
      lat
    • setLng

      public MatchedGeoLocation setLng(Double lng)
    • getLng

      @Nullable public Double getLng()
      Longitude of the matched location.
      Returns:
      lng
    • setDistance

      public MatchedGeoLocation setDistance(Integer distance)
    • getDistance

      @Nullable public Integer getDistance()
      Distance between the matched location and the search location (in meters).
      Returns:
      distance
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object