public class DataListTally.DataList.Element
extends java.lang.Object
Constructor and Description |
---|
Element(double value)
Constructs a new Element with the given value.
|
Modifier and Type | Method and Description |
---|---|
DataListTally.DataList.Element |
getNext()
Returns the next Element in the List.
|
double |
getValue()
Returns the Element's value.
|
void |
setNext(DataListTally.DataList.Element next)
Sets the next Element in the list.
|
java.lang.String |
toString()
Returns the Element's value as String.
|
public Element(double value)
value
- double : The value of this Element.public DataListTally.DataList.Element getNext()
null
if this
is the last Element.public void setNext(DataListTally.DataList.Element next)
next
- Element : The Element to be the successor of this
Element.public java.lang.String toString()
toString
in class java.lang.Object
public double getValue()