OCLOperators symmetricDifference
No edit summary
(Automatically adding template at the end of the page.)
 
(6 intermediate revisions by 3 users not shown)
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.


[[Examples on collection operators|See explaining samples]]
Practical to use if you need to ask if two collections are equal - if they are, SymmentricDifference returns an empty collection.
[[Category:OCLOperators]]
[[File:2021-05-27 14h55 49.png|none|thumb]]
 
See: [[Examples on collection operators|Explaining samples]]
 
See also: [[OCLOperators_difference]]
[[Category:OCL Collection Operators]]
{{Edited|July|12|2024}}

Latest revision as of 15:43, 10 February 2024

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

See also: OCLOperators_difference

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