GeoResults
. This class is scheduled
to be removed in the next major release.@Deprecated public class GeoResults<T> extends org.springframework.data.geo.GeoResults<T>
GeoResult
s as well as the average distance they have.Constructor and Description |
---|
GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results)
Deprecated.
Creates a new
GeoResults instance manually calculating the average distance from the distance values of the
given GeoResult s. |
GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results,
org.springframework.data.geo.Distance averageDistance)
Deprecated.
Creates a new
GeoResults instance from the given GeoResult s and average distance. |
GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results,
org.springframework.data.geo.Metric metric)
Deprecated.
|
equals, getAverageDistance, getContent, hashCode, iterator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results)
GeoResults
instance manually calculating the average distance from the distance values of the
given GeoResult
s.results
- must not be null.public GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results, org.springframework.data.geo.Metric metric)
public GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results, org.springframework.data.geo.Distance averageDistance)
GeoResults
instance from the given GeoResult
s and average distance.results
- must not be null.averageDistance
- Copyright © 2015. All rights reserved.