Iterator

Description

Ported from the Iterator goodie by Mario Wolczko. Occasionally you may have a block that when evaluated can betreated as a collection -- ie it takes another block as parameter,then applies that to a sequence of values. This goodie wraps the block into an object -- an iterator -- which ispart of the collection hierarchy, and therefore inherits a variety ofuseful collection-related methods.

Details

Source
SqueakMap
Dialect
squeak (65% confidence)

Categories

UI / Graphics
← Back to results