| 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 GeoResults. |
GeoResults(List<? extends GeoResult<T>> results,
Distance averageDistance)
Creates a new
GeoResults instance from the given GeoResults 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 GeoResults. |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.