public class GeoResult<T> extends Object implements Serializable
Constructor and Description |
---|
GeoResult(T content,
Distance distance)
Creates a new
GeoResult for the given content and distance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
T |
getContent()
Returns the actual content object.
|
Distance |
getDistance()
Returns the distance the actual content object has from the origin.
|
int |
hashCode() |
String |
toString() |
Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.