public class MatrixCell
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Float |
col |
java.lang.Float |
row |
Constructor and Description |
---|
MatrixCell() |
MatrixCell(java.lang.Float row,
java.lang.Float col) |
MatrixCell(java.lang.Integer row,
java.lang.Integer col) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
col(int col) |
void |
col(java.lang.Integer col) |
void |
colF(java.lang.Float col) |
void |
confineToValidCell(CoolMapObject object) |
MatrixCell |
duplicate() |
boolean |
equals(java.lang.Object o) |
java.lang.Integer |
getCol() |
java.lang.Integer |
getRow() |
int |
hashCode() |
boolean |
isColValidCell(CoolMapObject object) |
boolean |
isColValidRange(CoolMapObject object) |
boolean |
isRowValidCell(CoolMapObject object) |
boolean |
isRowValidRange(CoolMapObject object) |
boolean |
isValidCell(CoolMapObject object) |
boolean |
isValidRange(CoolMapObject object) |
void |
row(int row) |
void |
row(java.lang.Integer row) |
void |
rowF(java.lang.Float row) |
void |
setValueTo(MatrixCell cell) |
java.lang.String |
toString() |
boolean |
valueEquals(MatrixCell cell) |
public MatrixCell()
public MatrixCell(java.lang.Float row, java.lang.Float col)
public MatrixCell(java.lang.Integer row, java.lang.Integer col)
public void confineToValidCell(CoolMapObject object)
public void col(int col)
public void row(int row)
public void col(java.lang.Integer col)
public void colF(java.lang.Float col)
public void row(java.lang.Integer row)
public void rowF(java.lang.Float row)
public java.lang.Object clone()
clone
in class java.lang.Object
public MatrixCell duplicate()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isValidCell(CoolMapObject object)
public boolean isValidRange(CoolMapObject object)
public boolean isRowValidRange(CoolMapObject object)
public boolean isColValidRange(CoolMapObject object)
public boolean isRowValidCell(CoolMapObject object)
public boolean isColValidCell(CoolMapObject object)
public void setValueTo(MatrixCell cell)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean valueEquals(MatrixCell cell)
public java.lang.Integer getRow()
public java.lang.Integer getCol()