|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--kei.math.Coordinates
?タ標(int)(x, y)のためのクラス?B
| Field Summary | |
int |
x
X |
int |
y
Y |
| Constructor Summary | |
Coordinates()
?タ標(int)(x, y)を?\築する?B |
|
Coordinates(Coordinates co)
?タ標(int)(x, y)を?\築する?B |
|
Coordinates(int x,
int y)
?タ標(int)(x, y)を?\築する?B |
|
| Method Summary | |
int |
compareTo(Object obj)
|
boolean |
equals(Coordinates co)
?タ標の比較を?sう?B |
double |
getDistance()
(0, 0)との距離を返す?B |
void |
set(Coordinates co)
?タ標(int)(x, y)の値を?ン定する?B |
void |
set(int x,
int y)
?タ標(int)(x, y)の値を?ン定する?B |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int x
public int y
| Constructor Detail |
public Coordinates()
public Coordinates(int x,
int y)
public Coordinates(Coordinates co)
| Method Detail |
public void set(int x,
int y)
public void set(Coordinates co)
public double getDistance()
public boolean equals(Coordinates co)
public int compareTo(Object obj)
compareTo in interface Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||