public class Circle extends ObjectSE implements Shape
コンストラクターと説明 |
---|
Circle(double centerX, double centerY, double radius) |
Circle(Point center, Distance radius) |
Circle(Point center, double radius) |
修飾子と型 | メソッドと説明 |
---|---|
protected boolean | canEqual(ObjectSE other) |
boolean | equals(ObjectSE o) |
Point | getCenter() Circle の中心を返します。 |
Distance | getRadius() Circle の半径を返します。 |
int | hashCode() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public Circle(Point center, Distance radius)
center
- null であってはなりません。radius
- null であってはならず、その値はゼロ以上です。public Circle(Point center, double radius)
center
- null であってはなりません。radius's
- 値はゼロ以上である必要があります。public Circle(double centerX, double centerY, double radius)
centerX
-centerY
-radius
- ゼロ以上である必要があります。public StringSE toString()
ObjectSE
の toStringSE
protected boolean canEqual(ObjectSE other)
public int hashCode()
ObjectSE
の hashCodeSE
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.