public class Box extends Object implements Shape
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.Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.