public class DataNode extends Object
A node has two elements, an index
and a value
.
Constructor and Description |
---|
DataNode() |
public int getIndex()
int
, the index of the nodepublic double getValue()
double
, the value of the nodepublic void setIndex(int idx)
idx
- an int
, the index of the nodepublic void setValue(double val)
val
- a double
, the value of the nodeCopyright © 1970-2016 Rogue Wave Software
Built May 19 2016.