3 ms·
Not really a mention of whether these 'chained' methods should be returning a new collection, mutating an existing collection, or returning something completely
by platz 12y ago
Not really a mention of whether these 'chained' methods should be returning a new collection, mutating an existing collection, or returning something completely different.
Would expect to at least see some kind of discussion on this here - otherwise every method call is a "pipeline"
- munificent 12y agoFrom the article: > ...returns a collection of only those articles for which the lambda resolves as true. > Like select it returns a new collection so I can continue the pipeline... > ...return a collection of records. > Each operation takes a collection as an input and emits another collection (expect the last operation, which may be a terminal that emits a single value).