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
[[File:2021-05-27 14h55 49.png|none|thumb]]


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

Revision as of 12:57, 27 May 2021

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 and empty collection

2021-05-27 14h55 49.png

See explaining samples