public class GeoPage<T> extends PageImpl<GeoResult<T>>
| Constructor and Description |
|---|
GeoPage(GeoResults<T> results)
Creates a new
GeoPage from the given GeoResults. |
GeoPage(GeoResults<T> results,
Pageable pageable,
long total)
|
| Modifier and Type | Method and Description |
|---|---|
Distance |
getAverageDistance()
Returns the average distance of the underlying results.
|
equals, getContent, getNumber, getNumberOfElements, getSize, getSort, getTotalElements, getTotalPages, hasContent, hashCode, hasNextPage, hasPreviousPage, isFirstPage, isLastPage, iterator, toStringpublic GeoPage(GeoResults<T> results)
GeoPage from the given GeoResults.content - must not be null.public GeoPage(GeoResults<T> results, Pageable pageable, long total)
results - must not be null.pageable - must not be null.total - public Distance getAverageDistance()
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.