OCLOperators foreach
(Created page with "Interates a collection containing and applying ''expr'' on all elements contained in ''self''. {| class="wikitable" !Expression !Result |- |<nowiki>(list of objects)->forEa...")
 
No edit summary
Line 1: Line 1:
Interates a collection containing and applying ''expr'' on all elements contained in ''self''.
Interates a collection containing and executing the expression on all elements contained in ''self''.
{| class="wikitable"
{| class="wikitable"
!Expression
!Expression

Revision as of 09:58, 13 December 2021

Interates a collection containing and executing the expression on all elements contained in self.

Expression Result
(list of objects)->forEach(str | str.DoSomething) The method DoSomething is called once on each of the objects in (list of objects)
This page was edited 84 days ago on 02/10/2024. What links here