Singly-linked list/Element definition: Difference between revisions

m
→‎{{header|Fantom}}: and the default successor is 'null'
m (edited Fantom example to allow 'null' successor)
m (→‎{{header|Fantom}}: and the default successor is 'null')
Line 144:
Node? successor // allow successor to change, also, can be 'null', for end of list
 
new make (Int value, Node? successor := null)
{
this.value = value
342

edits