简体   繁体   中英

Representing LinkedLists in UML diagrams?

Wondering what is the format to represent this state of a class inside a UML diagram

private LinkedList<String> list;

Thanks for your time

It's just a property with a multiplicity of 0..* and a type String. You generally don't design a linked list in UML, you use one to implement an association.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM