Previous: Link-basic, Up: Link


1.100.3 Link: iteration

at: index
Retrieve a node (instance of Link) that is at a distance of `index' after the receiver.


at: index put: object
This method should not be called for instances of this class.


do: aBlock
Evaluate aBlock for each element in the list


size
Answer the number of elements in the list. Warning: this is O(n)