Spring Data MongoDB - Core

org.springframework.data.mongodb.core.geo
Class Distance

java.lang.Object
  extended by org.springframework.data.geo.Distance
      extended by 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

Constructor Summary
Distance(double value)
          Deprecated. Creates a new Distance.
Distance(double value, Metric metric)
          Deprecated.  
 
Method Summary
 
Methods inherited from class org.springframework.data.geo.Distance
add, add, equals, getMetric, getNormalizedValue, getValue, hashCode, in, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Distance

public Distance(double value)
Deprecated. 
Creates a new Distance.

Parameters:
value -

Distance

public Distance(double value,
                Metric metric)
Deprecated. 

Spring Data MongoDB - Core

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.