public class Point extends ObjectSE implements SerializableSE
修飾子と型 | メソッドと説明 |
---|---|
boolean | equals(ObjectSE obj) |
double | getX() Point の x 座標を返します。 |
double | getY() Point の y 座標を返します。 |
int | hashCode() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public Point(double x, double y)
x
-y
-public Point(Point point)
point
- null であってはなりません。public double getX()
Point
の x 座標を返します。public double getY()
Point
の y 座標を返します。public int hashCode()
ObjectSE
の hashCodeSE
public StringSE toString()
ObjectSE
の toStringSE
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.