Class GeoReference.GeoCoordinateReference<T>

java.lang.Object
org.springframework.data.redis.domain.geo.GeoReference.GeoCoordinateReference<T>
All Implemented Interfaces:
GeoReference<T>
Enclosing interface:
GeoReference<T>

public static class GeoReference.GeoCoordinateReference<T> extends Object implements GeoReference<T>
  • Constructor Details

    • GeoCoordinateReference

      public GeoCoordinateReference(double longitude, double latitude)
  • Method Details

    • getLongitude

      public double getLongitude()
    • getLatitude

      public double getLatitude()
    • equals

      public boolean equals(@Nullable 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