OCLOperators collect
No edit summary
No edit summary
Line 7: Line 7:
|Sequence{'FIRST', 'SECOND'}
|Sequence{'FIRST', 'SECOND'}
|}
|}
[[Category:OCLOperators]]
[[Category:OCL Collection Operators]]
[[Category:OCL Collection Operators]]

Revision as of 06:01, 18 April 2023

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'}
This page was edited 94 days ago on 02/10/2024. What links here