public class IndexValuePair
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
int |
index
Index of the value stored.
|
double |
value
Value stored.
|
Constructor and Description |
---|
IndexValuePair(double newvalue,
int newindex)
Parameter construnctor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |