OCLOperators collect
Created by Alexandra on 2017-08-13 · Last edited by Vale.buyondo on 2025-12-13.
Returns a collection containing the result of applying expr on all elements contained in self.
| Expression | Result |
|---|---|
| Sequence{'first', 'second'}->collect(toUpper()) | Sequence{'FIRST', 'SECOND'} |
