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

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

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