Spring Data MongoDB - Core

org.springframework.data.mongodb.core.geo
Class GeoResult<T>

java.lang.Object
  extended by org.springframework.data.geo.GeoResult<T>
      extended by org.springframework.data.mongodb.core.geo.GeoResult<T>
All Implemented Interfaces:
Serializable

Deprecated. As of release 1.5, replaced by GeoResult. This class is scheduled to be removed in the next major release.

@Deprecated
public class GeoResult<T>
extends org.springframework.data.geo.GeoResult<T>

Calue object capturing some arbitrary object plus a distance.

Author:
Oliver Gierke, Thomas Darimont
See Also:
Serialized Form

Constructor Summary
GeoResult(T content, Distance distance)
          Deprecated. Creates a new GeoResult for the given content and distance.
 
Method Summary
 
Methods inherited from class org.springframework.data.geo.GeoResult
equals, getContent, getDistance, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeoResult

public GeoResult(T content,
                 Distance distance)
Deprecated. 
Creates a new GeoResult for the given content and distance.

Parameters:
content - must not be null.
distance - must not be null.

Spring Data MongoDB - Core

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.