Spring Data Document

org.springframework.data.document.mongodb.geo
Class Box

java.lang.Object
  extended by 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)
           
 
Method Summary
 boolean equals(Object obj)
           
 Point getLowerLeft()
           
 Point getUpperRight()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Box

public Box(Point lowerLeft,
           Point upperRight)

Box

public Box(double[] lowerLeft,
           double[] upperRight)
Method Detail

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

Spring Data Document

Copyright © 2011. All Rights Reserved.