All of that is possible, but only if you follow a related principle: the Liskov Substitution principle.
所有这些都是可能的,只要你能够遵循一个相关的原则:Liskov替代原则。
Just like factories give me the benefits of the Liskov substitution Principle in OO design, intermediation gives me the benefits of substitution in messaging design.
就像在OO设计中,工厂给与我Liskov替换原则的便利,在消息传递设计中,仲裁为我带来了替换的便利。
Roughly stated, you are following the Liskov Substitution Principle if you can use any implementation of an abstraction in any place that accepts that abstraction.
粗略地说,如果你可以在任何接受抽象的地方使用那个抽象的任何实现,就是在遵循Liskov替换原则。
The paper introduces the present research carboxymethyl starch synthesis principle and method, and the substitution degree of carboxymethyl starch test methods were introduced in detail.
本文介绍了羧甲基淀粉的研究现状,合成原理和方法,并对羧甲基淀粉取代度测试的方法进行了详细的介绍。
The basic principle of atmospheric ozone layer destruction hy polyurethane blowing agent CFC-11, and various way, developmental trend and economic feature of substitution for CFC-11 were reviewed.
简述了CFC - 11对大气臭氧层破坏的基本原理,介绍了聚氨酯cfc - 11替代的不同途径及发展趋势,评价了CFC - 11替代的经济特性。
The "Liskov's Substitution Principle" is just a way of ensuring that inheritance is used correctly.
里氏替换原则就是一种保证正确使用继承的方法。
The article puts forward and sets out clearly algebraic substitution axiom and the principle of duality, which are both universal logic laws.
提出和阐明了两个普遍的逻辑规律——代数替换公理与对偶原理。
The principle of substitution therapy is to absorb the pure nicotine extracted from the cigarette directly through the skin, oral cavity or nose instead of breathing it in from cigarette.
替代疗法的原理是利用从香烟中提取的纯尼古丁直接通过皮肤和口腔或鼻吸入替代从香烟中吸入。
According to the principle of substitution of the generalized kinematic pair, mobility of the complex loop mechanism composed by multiple sub — chain was studied.
并依据广义运动副替代原则,得到多个子链组合而成的复杂多环路机构的自由度。
By the principle of equal-rigidity substitution, the design of the automobile shell with FRP is explored and the performance and requirement of the metal shell can be achieved.
通过“等刚度置换”原则,探讨了采用FRP设计汽车壳体并达到金属壳体的性能和要求。
As an operation for trial, exploration and technology used by the ancients, with the principle of mystery and fantasticism, alchemy surprisingly at last became the substitution of deceiving.
它作为古人的一种试验、探索、技术操作,循着神秘而荒诞的思路,却成了行骗的代名词。
Our country "Contract Law" USES the strict responsibility principle substitution mistake responsibility principle non - to be definitely accidental, but has its root.
我国《合同法》采用严格责任原则取代过错责任原则决非偶然,而是有其根源的。
The competition between addition and substitution in vapour phase chloridization reaction of prolence is analyzed on the base of essential principle in chemical thermodynamics and kinetics.
对间苯二甲腈气相氯化反应过程提出了合理的假设与简化 ,从反应机理出发建立了一个动力学数学模型。
Due to the strong electron-withdrawing property of CF3 - group the substitution of ortho-chloro shows a higher probability, implying the in-principle feasibility of the reaction.
由于此物质中CF 3具有强吸电子能力,所以其邻位的氯更易被取代,这就说明此反应理论上是能够发生的。
Due to the strong electron-withdrawing property of CF3 - group the substitution of ortho-chloro shows a higher probability, implying the in-principle feasibility of the reaction.
由于此物质中CF 3具有强吸电子能力,所以其邻位的氯更易被取代,这就说明此反应理论上是能够发生的。
应用推荐