OCL Operators prepend
From MDrivenWiki
prepend ( object : T ) : Sequence(T)
Returns a Sequence containing object followed by all elements of self.
Expression | Result |
---|---|
Sequence{'a', 'b'}->prepend('c') | Sequence{'c', 'a', 'b'} |
Returns a Sequence containing object followed by all elements of self.
Expression | Result |
---|---|
Sequence{'a', 'b'}->prepend('c') | Sequence{'c', 'a', 'b'} |