next up previous contents
Next: Iterator Streams Up: Streams and Iterators Previous: Basic Instantiation   Contents

Collecting Protocols

Mirroring the collection protocols, streams support a mirror of that interface (do:, select:, collect:, reject:). The difference is that where collections would answer other collections, streams return corresponding streams.



Brian Rice 2004-08-24