官术网_书友最值得收藏!

Dependency

Dependency is one of the most generic types of UML relationship. It is used to define that one class depends in some way or other on another class, while the other class may or may not depend on the first one. A dependent relationship is used to represent relations that do not fall into one of the cases described in the following sections. Dependency is sometimes called Uses-A relationship.

In general, in object-oriented programming languages dependency is used to describe whether one class contains a parameter of the second class in the signature of a method, or whether it creates instances of the second class by passing them to other classes without using them (without invoking its methods):

主站蜘蛛池模板: 尼玛县| 遂溪县| 抚宁县| 广丰县| 华安县| 贵阳市| 桐柏县| 雅安市| 无棣县| 庆云县| 锦州市| 蒙阴县| 五指山市| 山阴县| 普兰县| 澄城县| 旺苍县| 咸丰县| 兰溪市| 昌江| 兰西县| 寻乌县| 南通市| 马公市| 鲁山县| 开平市| 永吉县| 泸水县| 邵东县| 武宣县| 潞城市| 达拉特旗| 湖北省| 新竹县| 漯河市| 霍山县| 牙克石市| 玛纳斯县| 旌德县| 霞浦县| 诸暨市|