开发者

How to represent a collection of objects

开发者 https://www.devze.com 2023-02-07 23:00 出处:网络
I need to make some drawing to explain programming logic at the whiteboard. I often need to manipulate collections of objects.

I need to make some drawing to explain programming logic at the whiteboard.

I often need to manipulate collections of objects.

Which symbol can I use to visually show a collection ?

I wish to have an example for better understanding, because I was told to use aggregation/composition in UML style, but I don't rea开发者_开发百科lly see it. For instance, if I want to represent a collection of Object ABC...


Do you use an established symbology, or do you just ad hoc your drawings? Usually, I'd go for an entity-relationship diagram with a crow's-foot going from the collection entity to the contained objects, UML, or whatever the people I'm talking to understand. That last part is usually the key...!

0

精彩评论

暂无评论...
验证码 换一张
取 消