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

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

主站蜘蛛池模板: 中牟县| 原平市| 晋江市| 瑞金市| 榕江县| 永登县| 澜沧| 信丰县| 濮阳市| 贵溪市| 双辽市| 湖南省| 巴中市| 澎湖县| 裕民县| 都匀市| 德阳市| 辉县市| 伊春市| 灵璧县| 阳泉市| 河西区| 吴堡县| 嘉禾县| 福清市| 长兴县| 微博| 株洲市| 门源| 黔西县| 乐清市| 兰坪| 嘉荫县| 桂东县| 阳朔县| 乐都县| 莒南县| 宁夏| 甘谷县| 酉阳| 陕西省|