@CodeReview(reviewer="Jonathan McClain", date="2006-05-17", changesNeeded=true, comments="Why are there only getters and setters for second value, but not first value? Other than that looks fine.", response=@CodeReviewResponse(respondent="Kevin R. Dixon",date="2006-05-18",moreChangesNeeded=false,comments="Okie dokie... I removed the inheritance and made the function names more coherent, as requested.")) public interface TwoMatrixEntry
Modifier and Type | Method and Description |
---|---|
int |
getColumnIndex()
Gets the column index to which the entry points
|
double |
getFirstValue()
Gets the first value to which this entry points
|
int |
getRowIndex()
Gets the current row index to which this entry points
|
double |
getSecondValue()
Gets the second value to which this entry points
|
void |
setColumnIndex(int columnIndex)
Sets the column index to which the entry points
|
void |
setFirstValue(double value)
Sets the first value to which this entry points
|
void |
setRowIndex(int rowIndex)
Sets the current row index to which this entry points
|
void |
setSecondValue(double value)
Sets the second value to which this entry points
|
int getColumnIndex()
void setColumnIndex(int columnIndex)
columnIndex
- new zero-based column index for the entryint getRowIndex()
void setRowIndex(int rowIndex)
rowIndex
- zero-based row indexdouble getFirstValue()
void setFirstValue(double value)
value
- new value of the first entrydouble getSecondValue()
void setSecondValue(double value)
value
- new value of the second entry