|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Discrete2DSpace
Interface for all Discrete two dimensional spaces.
| Field Summary | |
|---|---|
static int |
MOORE
|
static int |
VON_NEUMANN
|
| Method Summary | |
|---|---|
BaseMatrix |
getMatrix()
Gets the matrix collection class that contains all the values |
java.lang.Object |
getObjectAt(int x,
int y)
Gets the Object at the specified coordinate. |
java.awt.Dimension |
getSize()
Gets the dimension of the space |
int |
getSizeX()
Gets the size of the x dimension |
int |
getSizeY()
Gets the size of the y dimension |
double |
getValueAt(int x,
int y)
Gets the value at the specified coordinate if appropriate. |
void |
putObjectAt(int x,
int y,
java.lang.Object object)
Puts the specified Object at the specified coordinate. |
void |
putValueAt(int x,
int y,
double value)
Puts the specified value at the specified coordinate. |
| Field Detail |
|---|
static final int VON_NEUMANN
static final int MOORE
| Method Detail |
|---|
int getSizeX()
int getSizeY()
java.awt.Dimension getSize()
java.lang.Object getObjectAt(int x,
int y)
x - the x coordinatey - the y coordinate
double getValueAt(int x,
int y)
x - the x coordinatey - the y coordinate
void putObjectAt(int x,
int y,
java.lang.Object object)
x - the x coordinatey - the y coordinateobject - the object to put
void putValueAt(int x,
int y,
double value)
x - the x coordinatey - the y coordinatevalue - the value to put at x,yBaseMatrix getMatrix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||