|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Objectorg.boxed_economy.components.cell.Cell
1セルを表すクラスです。2次元セルなので、X,Y座標を持ち距離を計算する ことができます。
| フィールドの概要 |
| インタフェース org.boxed_economy.besp.model.fmfw.Information から継承したフィールド |
serialVersionUID |
| コンストラクタの概要 | |
Cell(int x,
int y)
Constructor for Cell. |
|
| メソッドの概要 | |
boolean |
equals(java.lang.Object o)
|
int |
getX()
セルのX座標を返します。 |
int |
getY()
セルのY座標を返します。 |
double |
measureDistance(Cell target)
targetとの距離を計算して返します。 |
java.lang.String |
toString()
|
| クラス java.lang.Object から継承したメソッド |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
public Cell(int x,
int y)
| メソッドの詳細 |
public int getX()
public int getY()
public double measureDistance(Cell target)
target - 測定targetのlocation
public boolean equals(java.lang.Object o)
Object.equals(Object)public java.lang.String toString()
Object.toString()
|
|||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||