Returns the collection of all subclasses for the class.
传回类别所有子类别的集合。
Here the explosion of subclasses isn't the only problem.
这里子类爆炸并不是唯一的问题。
Am I confident that this type will never have subclasses?
确定这个类型决不会有子类吗?
It is recommended that all subclasses override this method.
建议所有子类都重写此方法。
We will need to override this method in all of its subclasses.
我们需要在它所有的子类中重写这个方法。
Given a base class how do I find the most specialized subclasses of it?
给定一个基类我如何找到最专业的子类吗?
The master table has all of the columns of the parent and all subclasses.
主表具有父类和子类的所有列。
Even if you don't change your Exception subclasses, you can still chain them.
即使不改变您的exception子类,您仍然可以将它们链接起来。
We actually don't have to declare a class that subclasses Button with Subject.
我们实际上不用声明一个继承subject的Button的子类。
You just write a test class (TC_Person in this example) that subclasses TestCase.
您只是写了一个测试类(在该示例是tC _ Person),它是TestCase的子类。
Assure that the factory method is accessible to the target object and its subclasses.
确保目标对象及其子类可以访问工厂方法。
In fact, my example subclasses Monitor to provide some (slight) enhanced capabilities.
事实上,我的示例使Monitor子类化,以提供某些(稍微)增强的能力。
This class has a number of subclasses that can construct images from different sources.
这个类有许多可以从不同来源构造图像的子类。
Subclasses may override this method to perform special dispatching of action messages.
子类可以重写这个对象发送命令消息给特定的对象。
There are too many permutations to easily create subclasses for every enhancement scenario.
有太多的替代方法可以轻易地为每种增强情形创建子类。
More specifically, it is the ability of subclasses to respond differently to the same messages.
更具体地说,它是子类对相同消息做出不同反应的能力。
If so, the client and service could exchange subclasses of Order containing subclasses of Item.
如果是这样,客户端和服务就可以交换包含ite m子类订单的子类。
Subclasses are encouraged to override this method and provide a more efficient implementation.
建议子类应该重载该方法,以提供更有效的实现。
Subclasses are encouraged to override this method and provide a more efficient implementation.
建议子类应该重载该方法,以提供更有效的实现。
应用推荐