public class DataCellIndex extends CellIndex
| Constructor and Description |
|---|
DataCellIndex(int row,
int column)
Creates a new
DataCellIndex with the specified row and column. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(DataCellIndex dataCellIndex) |
boolean |
equals(java.lang.Object obj)
Returns
true if and only if the specified object is a DataCellIndex
whose row and column are equal to those of this DataCellIndex. |
int |
getColumn()
Returns the datacell's column.
|
int |
getRow()
Returns the datacell's row.
|
int |
hashCode() |
java.lang.String |
toString() |
public DataCellIndex(int row,
int column)
DataCellIndex with the specified row and column.row - the row of the datacellcolumn - the column of the datacellpublic int getRow()
public int getColumn()
public boolean equals(java.lang.Object obj)
true if and only if the specified object is a DataCellIndex
whose row and column are equal to those of this DataCellIndex.equals in class java.lang.Objectobj - the object to test for equalitytrue if the specified object is equal to this DataCellIndex object; false otherwisepublic boolean equals(DataCellIndex dataCellIndex)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object