Set vs bag
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
Bag can have multiple instances of objects. | Bag can have multiple instances of objects. | ||
See also: [[Documentation:Collections|Collections]] | '''See also:''' [[Documentation:Collections|Collections]] | ||
[[Category:OCL]] | [[Category:OCL]] | ||
{{Edited|July|12|2024}} | {{Edited|July|12|2024}} |
Revision as of 05:41, 23 May 2024
This page was created by Hans.karlsen on 2019-11-25. Last edited by Edgar on 2025-01-20.
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