OCLOperators Union ( seq : Sequence(T)
From MDrivenWiki
union ( seq : Sequence(T) ) : Sequence(T)
Returns a Sequence containing all elements of self followed by all elements of *seq*.
Expression | Result |
---|---|
Sequence{'a', 'b', 'a'}->union(Sequence{'b', 'c'}) | Sequence{'a', 'b', 'a', 'b', 'c'} |