Previous: , Up: Link   [Index]

1.103.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


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