By adding a wrapper class, you have broken subtype polymorphism.
通过添加包装程序类,您打破了子类型的多态性。
Dextromethorphan metabolic phenotyping provides a new information for debrisoquine 4-hydroxylase (CYP2D6) polymorphism in native Chinese.
右美沙芬的代谢表型研究为中国本地人的异丁喹4-羟化酶(CYP2D6)多态性提供了新的信息。
Type parameters (polymorphism).
类型参数(多态性)。
These should be replaced with polymorphism.
可以用多态来代替之。
This diagram is a good illustration of polymorphism.
该图是多态性的一个好例子。
Table per Concrete Class using Implicit polymorphism.
4使用隐式多态实现每个具体类一张表。
Chapter 3 digs into inheritance (basic and multiple) and polymorphism.
第三章深刻讲解了继承(基本继承和多重继承)和多态。
You really learn about polymorphism when you've understood the patterns.
只有当你已经明白了这些模式之后,才能真正理解多态性。
In single-dispatch polymorphism, the object that "owns" a method is singled out.
在单分派多态性中,挑选出“拥有”方法的对象。
Inheritance and polymorphism are fundamental to object-oriented (OO) programming.
继承和多态性是面向对象(object - oriented,OO)程序设计的基础。
Leverage object-oriented concepts such as encapsulation, inheritance, and polymorphism.
利用面向对象的概念,如封装、继承和多态性。
Leveraging object-oriented concepts such as encapsulation, inheritance, and polymorphism.
利用面向对象的概念,如封装、继承和多态性。
These applications of encapsulation, modularity, and polymorphism are implemented by the patterns.
封装、模块化和多态的应用均由模式来实现。
The encoding rules are very flexible and support the representation of data graphs and polymorphism.
编码规则非常灵活并支持图形数据和多态的表示。
You should have a good understanding of objects and what they 're about, including polymorphism.
你应该对对象和多态有深入的理解,知道它们究竟是些什么。
What if pure polymorphism just isn't enough to allow for all the possible variations coming up in the future?
如果仅仅依靠多态无法满足未来可能出现的所有变化呢?
This switching of classes at run time is a common feature of object-oriented programming, known as polymorphism.
这种在运行时的类切换是面向对象编程的一个常见特性,称为多态性。
We'll start by presenting ways you can use Hibernate and polymorphism to incorporate behavior in the domain model.
在这个部分中,我们首先讨论如何使用Hibernate和多态性在领域模型中集成行为。
Perhaps the most common application of polymorphism is in creating a family of objects that follow a common protocol.
也许多态性最常见的应用是在创建符合公共协议的一系列对象方面。
This allows you to swap out at runtime a different class exposing the same methods, taking advantage of polymorphism.
它允许利用多态性在运行时换出一个不同的类来公开相同的方法。
If objects and inheritance go together like chocolate and peanut butter, objects and polymorphism are like hand and glove.
如果说对象和继承就像巧克力和花生酱的话,那对象和多态就好比手和手套。
The ability to vary implementation of derived components in subtypes demonstrates one flavor of polymorphism in XML schemas.
改变子类型中派生组件的实现的能力演示了XML模式中多态性的一种形式。
The traditional object-oriented solution to problems of this sort is to leverage subtype polymorphism - that is, inheritance.
针对这类问题的传统的面向对象的解决方案是利用子类型多态性—也就是说,继承。
It supports polymorphism very well as you merely have records in the appropriate tables for each role that an object might have.
它能够很好地支持多态性,对于对象可能有的每个角色,只需要在相应的表中保存记录。
ChangingThePresent USES polymorphism in several places to provide common behavior, particularly when we are dealing with images.
ChangingThePresent在几个地方使用了多态以提供通用的行为,尤其是在处理图像的时候。
Another reason is that by passing a DictionaryIO object to Dictionary, you can take advantage of class switching, or polymorphism.
另一个原因是通过将DictionaryIO对象传递给Dictionary,可以利用类切换或多态性。
Multiple dispatch does not merely generalize polymorphism, it also provides a more flexible alternative to inheritance in many contexts.
多分派不仅仅泛化了多态性,它还在许多上下文中提供了更加灵活的继承方式。
Pattern matching plays a central role in functional programming just as polymorphism plays a central role in object-oriented programming.
模式匹配在函数式编程中扮演了中心角色,就好像多态在面向对象编程中扮演着中心角色一样。
Type polymorphism and polymorphism in object-oriented programming: Read Wikipedia's articles about polymorphism, including subtype polymorphism.
类型多态性和面向对象编程的多态性:阅读有关多态性的Wikipedia文章,包括子类型多态性。
Type polymorphism and polymorphism in object-oriented programming: Read Wikipedia's articles about polymorphism, including subtype polymorphism.
类型多态性和面向对象编程的多态性:阅读有关多态性的Wikipedia文章,包括子类型多态性。
应用推荐