Next: , Previous: RunArray-copying, Up: RunArray

1.143.6 RunArray: enumerating

do: aBlock
Enumerate all the objects in the receiver, passing each one to aBlock

objectsAndRunLengthsDo: aBlock
Enumerate all the runs in the receiver, passing to aBlock two parameters for every run: the first is the repeated object, the second is the number of copies