public class DataCellKey extends CellKey
Constructor and Description |
---|
DataCellKey(QDR rowKey,
QDR columnKey)
Creates a key for the data cell at the intersection of the specified row and column.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(DataCellKey key) |
boolean |
equals(java.lang.Object object)
Returns
true if and only if the specified object is a DataCellKey
whose row and column QDR s are equal to those of this DataCellKey . |
QDR |
getColumnKey()
Gets the
QDR for the column of this data cell. |
QDR |
getRowKey()
Gets the
QDR for the row of this data cell. |
int |
hashCode() |
java.lang.String |
toString() |
public DataCellKey(QDR rowKey, QDR columnKey)
rowKey
- the QDR
of the row, containing one entry for each header cell in the row, and no other entriescolumnKey
- the QDR
of the column, containing one entry for each header cell in the column, and no other entriespublic QDR getRowKey()
QDR
for the row of this data cell.QDR
for the row of this data cellpublic QDR getColumnKey()
QDR
for the column of this data cell.QDR
for the column of this data cellpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
true
if and only if the specified object is a DataCellKey
whose row and column QDR
s are equal to those of this DataCellKey
.equals
in class java.lang.Object
object
- the object to test for equalitytrue
if the specified object is equal to this DataCellKey
object; false
otherwisepublic boolean equals(DataCellKey key)