OCLOperators symmetricDifference
(Replacing message template with parser tag)
No edit summary
Line 8: Line 8:


See also: [[OCLOperators_difference]]
See also: [[OCLOperators_difference]]
Video: https://youtu.be/2imigV8cAXI?si=zd-lOfMXptwDOYAC
[[Category:OCL Collection Operators]]
[[Category:OCL Collection Operators]]
{{Edited|July|12|2024}}
{{Edited|July|12|2024}}

Revision as of 08:24, 4 December 2024

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

See also: OCLOperators_difference

Video: https://youtu.be/2imigV8cAXI?si=zd-lOfMXptwDOYAC