Set vs bag
(Created page with "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")
 
(Automatically adding template at the end of the page.)
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Set{1,2,3}
Set{1,2,3} Bag{1,2,3}
Bag{1,2,3}


Set will only have 1 instance of objects - multiple instances resulting from operations will be stripped
Set will only have 1 instance of objects - multiple instances resulting from operations will be stripped.
Bag can have multiple instances of objects
 
Bag can have multiple instances of objects.
 
See also: [[Collections]]
[[Category:OCL]]
{{Edited|July|12|2024}}

Revision as of 15:46, 10 February 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 9 days ago on 05/10/2024. What links here