Node T
Node T
/* Constructor - returns a IntNode with "value" as value and without successesor IntNode
**/
this.value = value;
this.next = null;
/* Constructor - returns a IntNode with "value" as value and its successesor is "next" **/
this.value = value;
this.next = next;
public T getValue()
return this.value;
{
return this.next;
this.value = value;
this.next = next;
/* Returns a String that describes the IntNode (and its' successesors **/