Class Box
java.lang.Object
org.springframework.data.geo.Box
- All Implemented Interfaces:
Serializable,Shape
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Box
-
Box
public Box(double[] first, double[] second) Creates a new Box from the givenfirstto thesecondpoint represented as the double[].- Parameters:
first- must not be null and contain exactly 2 doubles.second- must not be null and contain exactly 2 doubles.
-
-
Method Details
-
getFirst
-
getSecond
-
hashCode
-
equals
-
toString
-