public class Box extends ObjectSE implements Shape
| コンストラクターと説明 |
|---|
Box(double[] first, double[] second) 指定された first から double[] として表される second ポイントに新しいボックスを作成します。 |
Box(Point first, Point second) |
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | equals(ObjectSE obj) |
Point | getFirst() |
Point | getSecond() |
int | hashCode() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic Box(double[] first,
double[] second)first から double[] として表される second ポイントに新しいボックスを作成します。first - null であってはならず、正確に 2 つの double を含む必要があります。second - null であってはならず、正確に 2 つの double を含む必要があります。public Point getFirst()
public Point getSecond()
public StringSE toString()
ObjectSE の toStringSE public int hashCode()
ObjectSE の hashCodeSE Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.