Set vs bag
No edit summary
No edit summary
Line 4: Line 4:


Bag can have multiple instances of objects.  
Bag can have multiple instances of objects.  
See also: [[Collections]]
[[Category:OCL]]
[[Category:OCL]]

Revision as of 06:57, 2 August 2023

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 9 days ago on 05/10/2024. What links here