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

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

This page was edited 96 days ago on 02/10/2024. What links here