OCLOperators union
No edit summary
(Updated Edited template to July 12, 2025.)
 
Line 16: Line 16:
Video: https://www.youtube.com/watch?v=-vBshXtEPts
Video: https://www.youtube.com/watch?v=-vBshXtEPts


{{Edited|July|12|2024}}
{{Edited|July|12|2025}}

Latest revision as of 05:59, 20 January 2025

union ( bag : Bag(T) ) : Bag(T)

Returns a Bag containing all elements of self and all elements of *bag*.

Expression Result
Bag{'a', 'b', 'a'}->union(Bag{'b', 'c'}) Bag{'a', 'b', 'a', 'c'}
Set{1,2,3}->union(Set{2,3,4}) Set{1,2,3,4}
2019-11-25 13h28 15.png

Video: https://www.youtube.com/watch?v=-vBshXtEPts


This page was edited 57 days ago on 01/20/2025. What links here