|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.geo.Point
public class Point
Represents a geospatial point value.
| Constructor Summary | |
|---|---|
Point(double x,
double y)
Creates a Point from the given x, y coordinate. |
|
Point(Point point)
Creates a Point from the given Point coordinate. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
double |
getX()
Returns the x-coordinate of the Point. |
double |
getY()
Returns the y-coordinate of the Point. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Point(double x,
double y)
Point from the given x, y coordinate.
x - y - public Point(Point point)
Point from the given Point coordinate.
point - must not be null.| Method Detail |
|---|
public double getX()
Point.
public double getY()
Point.
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||