@CodeReview(reviewer="Jonathan McClain", date="2006-05-17", changesNeeded=true, comments="Comments marked with triple slash", 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 TwoVectorEntry
Modifier and Type | Method and Description |
---|---|
double |
getFirstValue()
Gets the first value to which this entry points
|
int |
getIndex()
Gets the current index into the Vector to which this entry points
|
double |
getSecondValue()
Gets the second value to which this entry points
|
void |
setFirstValue(double value)
Sets the first value to which this entry points
|
void |
setIndex(int index)
Sets the current index into the Vector to which this entry points
|
void |
setSecondValue(double value)
Sets the second value to which this entry points
|
int getIndex()
void setIndex(int index)
index
- zero-based index into the Vectordouble getFirstValue()
void setFirstValue(double value)
value
- new value of the second entrydouble getSecondValue()
void setSecondValue(double value)
value
- new value of the second entry