|
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.Box
public class Box
Represents a geospatial box value
| Constructor Summary | |
|---|---|
Box(double[] first,
double[] second)
Creates a new Box from the given first to the second point represented as the double[]. |
|
Box(Point first,
Point second)
Creates a new Box spanning from the given first to the second Point. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Point |
getFirst()
Returns the first Point making up the Box. |
Point |
getSecond()
Returns the second Point making up the Box. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Box(Point first,
Point second)
Point.
first - must not be null.second - must not be null.
public Box(double[] first,
double[] second)
first to the second point represented as the double[].
first - must not be null and contain exactly 2 doubles.second - must not be null and contain exactly 2 doubles.| Method Detail |
|---|
public Point getFirst()
Point making up the Box.
public Point getSecond()
Point making up the Box.
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||