Spring Data Document

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

java.lang.Object
  extended by org.springframework.data.mongodb.core.geo.Point

public class Point
extends Object

Represents a geospatial point value.

Author:
Mark Pollack, Oliver Gierke

Constructor Summary
Point(double x, double y)
           
Point(Point point)
           
 
Method Summary
 double[] asArray()
           
 List<Double> asList()
           
 boolean equals(Object obj)
           
 double getX()
           
 double getY()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point

public Point(double x,
             double y)

Point

public Point(Point point)
Method Detail

getX

public double getX()

getY

public double getY()

asArray

public double[] asArray()

asList

public List<Double> asList()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Spring Data Document

Copyright © 2012. All Rights Reserved.