Set vs bag
(Automatically adding template at the end of the page.)
No edit summary
Line 5: Line 5:
Bag can have multiple instances of objects.  
Bag can have multiple instances of objects.  


See also: [[Collections]]  
See also: [[Documentation:Collections|Collections]]  
[[Category:OCL]]
[[Category:OCL]]
{{Edited|July|12|2024}}
{{Edited|July|12|2024}}

Revision as of 07:29, 10 May 2024

Set{1,2,3} Bag{1,2,3}

Set will only have 1 instance of objects - multiple instances resulting from operations will be stripped.

Bag can have multiple instances of objects.

See also: Collections

This page was edited 10 days ago on 05/23/2024. What links here