org.springframework.data.mongodb.core.geo
Class Distance
java.lang.Object
org.springframework.data.geo.Distance
org.springframework.data.mongodb.core.geo.Distance
- All Implemented Interfaces:
- Serializable
Deprecated. As of release 1.5, replaced by Distance. This class is scheduled to
be removed in the next major release.
@Deprecated
public class Distance
- extends Distance
Value object to represent distances in a given metric.
- Author:
- Oliver Gierke, Thomas Darimont
- See Also:
- Serialized Form
Distance
public Distance(double value)
- Deprecated.
- Creates a new
Distance.
- Parameters:
value -
Distance
public Distance(double value,
Metric metric)
- Deprecated.
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.