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