OCLOperators symmetricDifference
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; i.e. 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: Examples on collection operators

See also: OCLOperators_difference
Video: OCL Operators: symmetricDifference