Spring Data Core

Uses of Class
org.springframework.data.geo.Distance

Packages that use Distance
org.springframework.data.geo Value types representing geo-spatial concepts. 
 

Uses of Distance in org.springframework.data.geo
 

Methods in org.springframework.data.geo that return Distance
 Distance Distance.add(Distance other)
          Adds the given distance to the current one.
 Distance Distance.add(Distance other, Metric metric)
          Adds the given Distance to the current one and forces the result to be in a given Metric.
 Distance GeoResults.getAverageDistance()
          Returns the average distance of all GeoResults in this list.
 Distance GeoPage.getAverageDistance()
          Returns the average distance of the underlying results.
 Distance GeoResult.getDistance()
          Returns the distance the actual content object has from the origin.
 Distance Circle.getRadius()
          Returns the radius of the Circle.
 Distance Distance.in(Metric metric)
          Returns a new Distance in the given Metric.
 

Methods in org.springframework.data.geo with parameters of type Distance
 Distance Distance.add(Distance other)
          Adds the given distance to the current one.
 Distance Distance.add(Distance other, Metric metric)
          Adds the given Distance to the current one and forces the result to be in a given Metric.
 

Constructors in org.springframework.data.geo with parameters of type Distance
Circle(Point center, Distance radius)
          Creates a new Circle from the given Point and radius.
GeoResult(T content, Distance distance)
          Creates a new GeoResult for the given content and distance.
GeoResults(List<? extends GeoResult<T>> results, Distance averageDistance)
          Creates a new GeoResults instance from the given GeoResults and average distance.
 


Spring Data Core

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.