In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what realization is in EA's UML drawing. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
Interface
In general, however, abstract classes still have some functions (properties, methods). We continue to simplify (abstract) until there are only exposed abstract operations without properties and methods, and this state UML has a special name: interface.
The interface is used to define a set of common features and services, which is the agreement between the service provider and the user. The purpose of defining the interface is to replace the implementation provided by different service providers; the abstract class extracts the common characteristics of the concrete class, and implements the complete function through the concrete class. The goal is to extract commonality rather than define behavior. The usage scenarios of the two are very different.
Implement (realization)
The relationship between concrete class and abstract class is called generalization, and the relationship between interface implementation and interface is called implementation (realization).
Representation method
In the class diagram, the representation of the interface and the class are basically the same, except that the "interface" keyword is added to the class name. The implementation takes two forms: one is a dotted line with a triangle at the top of the interface class, and the other is a dependency arrow with the "interface" keyword.
Try to use the one on the left.
The above is all the contents of the article "what is realization in EA's drawing of UML". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 247
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.