OCLOperators symmetricDifference
No edit summary
No edit summary
Line 5: Line 5:


See: [[Examples on collection operators|Explaining samples]]
See: [[Examples on collection operators|Explaining samples]]
[[Category:OCLOperators]]
[[Category:OCL Collection Operators]]
[[Category:OCL Collection Operators]]

Revision as of 06:23, 18 April 2023

This page was created by Alexandra on 2017-08-14. Last edited by Stephanie@mdriven.net on 2025-01-23.

The symmetric difference between the collections; ie all the objects in collection1 or collection2 but not in both.

Practical to use if you need to ask if two collections are equal - if they are, SymmentricDifference returns an empty collection.

2021-05-27 14h55 49.png

See: Explaining samples