通过添加包装程序类,您打破了子类型的多态性。
By adding a wrapper class, you have broken subtype polymorphism.
右美沙芬的代谢表型研究为中国本地人的异丁喹4-羟化酶(CYP2D6)多态性提供了新的信息。
Dextromethorphan metabolic phenotyping provides a new information for debrisoquine 4-hydroxylase (CYP2D6) polymorphism in native Chinese.
不支持探测重载和多态的函数。
Probing of overloaded and polymorphic functions is not supported.
只要方法名匹配,就可以利用多态性。
该图是多态性的一个好例子。
下面给出一个更好的多态记录的定义。
An even better definition of polymorphic record is presented below.
下面的定义可用于创建一个多态的纪录。
The following definitions can be used to create a polymorphic record.
下面的示例涉及两个类之间的多态递归。
Here's an example involving polymorphic recursion across two classes.
多态记录的变更定义如下。
And change definition of polymorphic record is presented below.
我们的第二个解决方案是使用简单的多态。
封装、模块化和多态的应用均由模式来实现。
These applications of encapsulation, modularity, and polymorphism are implemented by the patterns.
稍后,我们将利用这种类型来分派多态行为。
This type will be used later to dispatch polymorphic behavior.
更严重的问题是类定义中可能存在多态递归。
The more serious problem is the potential for polymorphic recursion in class definitions.
也就是多态,对吗?
协议允许您在先前存在的类型上定义多态函数。
Protocols allow you to define polymorphic functions over preexisting types.
类型参数(多态性)。
利用面向对象的概念,如封装、继承和多态性。
Leverage object-oriented concepts such as encapsulation, inheritance, and polymorphism.
静态禁止多态递归。
利用面向对象的概念,如封装、继承和多态性。
Leveraging object-oriented concepts such as encapsulation, inheritance, and polymorphism.
编码规则非常灵活并支持图形数据和多态的表示。
The encoding rules are very flexible and support the representation of data graphs and polymorphism.
在单分派多态性中,挑选出“拥有”方法的对象。
In single-dispatch polymorphism, the object that "owns" a method is singled out.
什么是多态性?
清单10Facebook特殊用户的多态定义。
工厂模式是根据不同类型创建多态对象的一个常见方法。
Factory pattern is a common pattern for creation of polymorphic objects of different concrete types.
如果仅仅依靠多态无法满足未来可能出现的所有变化呢?
What if pure polymorphism just isn't enough to allow for all the possible variations coming up in the future?
清单15Facebook特殊用户的改进多态定义。
Listing 15 Improved polymorphic definition of Facebook Special user.
清单11Facebook特殊用户的改进多态定义。
Listing 11 Improved polymorphic definition of Facebook Special user.
清单12一条多态Facebook用户记录的测试类。
Listing 12 a test class for a polymorphic Facebook user record.
这些蛋白高度多态。 例如,它们在不同的人中显示差异。
These proteins are highly “polymorphic” i.e., they show variation in different individuals.
这些蛋白高度多态。 例如,它们在不同的人中显示差异。
These proteins are highly “polymorphic” i.e., they show variation in different individuals.
应用推荐