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

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):

主站蜘蛛池模板: 营口市| 金寨县| 宁化县| 南木林县| 图木舒克市| 奇台县| 汾阳市| 琼结县| 东兴市| 原平市| 潼关县| 安溪县| 陆丰市| 镶黄旗| 利津县| 黄平县| 嘉善县| 托里县| 怀远县| 惠州市| 桂东县| 旅游| 阜阳市| 永定县| 宝兴县| 北京市| 太保市| 桦川县| 星子县| 寿宁县| 土默特右旗| 昌乐县| 福清市| 沛县| 禹城市| 米泉市| 云阳县| 凭祥市| 西华县| 潜山县| 伊宁市|