Package | Description |
---|---|
org.springframework.data.geo |
Value types representing geo-spatial concepts.
|
Modifier and Type | Method and Description |
---|---|
List<GeoResult<T>> |
GeoResults.getContent()
Returns the actual content of the
GeoResults . |
Iterator<GeoResult<T>> |
GeoResults.iterator() |
Constructor and Description |
---|
GeoResults(List<? extends GeoResult<T>> results)
Creates a new
GeoResults instance manually calculating the average distance from the distance values of the
given GeoResult s. |
GeoResults(List<? extends GeoResult<T>> results,
Distance averageDistance)
Creates a new
GeoResults instance from the given GeoResult s and average distance. |
GeoResults(List<? extends GeoResult<T>> results,
Metric metric)
Creates a new
GeoResults instance manually calculating the average distance in the given Metric
from the distance values of the given GeoResult s. |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.