org.springframework.data.document.mongodb.geo
Class Box
java.lang.Object
org.springframework.data.document.mongodb.geo.Box
public class Box
- extends java.lang.Object
Represents a geospatial box value
- Author:
- Mark Pollack, Oliver Gierke
Constructor Summary |
Box(double[] lowerLeft,
double[] upperRight)
|
Box(Point lowerLeft,
Point upperRight)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Box
public Box(Point lowerLeft,
Point upperRight)
Box
public Box(double[] lowerLeft,
double[] upperRight)
getLowerLeft
public Point getLowerLeft()
getUpperRight
public Point getUpperRight()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2011. All Rights Reserved.