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>
GeoResults 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 GeoResults. |
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 GeoResults 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic GeoResults(List<? extends org.springframework.data.geo.GeoResult<T>> results)
GeoResults instance manually calculating the average distance from the distance values of the
given GeoResults.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 GeoResults and average distance.results - must not be null.averageDistance - Copyright © 2021. All rights reserved.