OCLOperators symmetricDifference
No edit summary
No edit summary
Line 1: Line 1:
The symmetric difference between the collections; ie all the objects in collection1 or collection2 but not in both.
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 and empty collection
Practical to use if you need to ask if two collections are equal - if they are, SymmentricDifference returns an empty collection.
[[File:2021-05-27 14h55 49.png|none|thumb]]
[[File:2021-05-27 14h55 49.png|none|thumb]]


[[Examples on collection operators|See explaining samples]]
See: [[Examples on collection operators|Explaining samples]]
[[Category:OCLOperators]]
[[Category:OCLOperators]]

Revision as of 07:43, 6 March 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