The image above describes how classes are related to each other, and not inheritance.
上图描述了如何类是相互关联的,而不是继承。
Moses admonishes the Israelites not to suppose that their inheritance of the land of Canaan is due to their own powers.
摩西警告以色列人,不要想当然地认为他们继承迦南之地是凭借了自己的力量。
We know inheritance is not being shown here, because the line with the arrow is dotted and not solid.
我们知道继承在这里没有被显示,因为与带箭头的线是点线而不是实线。
It also hurts the design of your domain classes because this utility class must now sit at the top of your object hierarchy, not allowing you to use inheritance to consolidate common behavior.
这还不利于域类的设计,因为这个实用类现在必须位于对象层次结构的顶层,不允许您使用继承来整合常见行为。
This eternal inheritance, not retirement, is what you should be looking forward to and working for.
这永恒的产业不是退休,是你应该向往并努力争取的。
Implicit class loading occurs when a class is loaded as result of a reference, instantiation, or inheritance (not via an explicit method call).
隐式类装入发生在由于引用、实例化或继承导致装入类的时候(不是通过显式方法调用)。
And the concentration of wealth in relatively few hands opens the possibility that much of the next generation's elite might achieve their status through inheritance, not hard or innovative work.
财富集中于相当少的一部分人手中的现实开启了一种可能性:精英分子的后代不需要努力工作或者创造性的工作便可以通过继承的方式获得他们的地位。
Another advantage of a genuine inheritance tax (not a false friend like Britain's) is that the tax authorities can set different rates according to how close heirs are to the donor.
真诚的继承税(不是像英国那样虚假的伙伴)另一好处在于税率制定者可以根据受益人和捐赠者之间不同的关系程度而确定不同的税率。
The act of inheritance may not change the term of protection of the rights of the software.
继承活动的发生不改变该软件权利的保护期。
So Ahab went home, sullen and angry because Naboth the Jezreelite had said, 'I will not give you the inheritance of my fathers.' he lay on his bed sulking and refused to eat.
亚哈因耶斯列人拿伯说我不敢将我先人留下的产业给你,就闷闷不乐地回宫,躺在床上,转脸向内,也不吃饭。
XSD inheritance is not supported in the generation of the SDO package.
XSD继承在sdo包的生成中是不支持的。
Most OFCs do not levy capital-gains or inheritance taxes, nor taxes on passive income such as interest.
绝大多数的离岸金融中心都免收资本利得税和遗产税,也不对诸如利息一类的被动收入进行征税。
Do this so that innocent blood will not be shed in your land, which the LORD your God is giving you as your inheritance, and so that you will not be guilty of bloodshed.
免得无辜之人的血流在耶和华你神所赐你为业的地上,流血的罪就归于你。
Though not shown in these examples, Blue does allow for inheritance.
虽然这些示例中没有显示,但Blue确实允许继承。
In fact, it makes sense to call IntBetween3And17 a subtype of int, at least informally, whether or not the inheritance tree matches that.
实际上,将IntBetween3And 17作为int的一个子类型是很有意义的,至少从表面上是如此,而不管继承树是否与此匹配。
The thing to keep in mind in understanding OOP sui generis is that OOP is not really a matter of inheritance specifically, but of dispatch decisions more generally.
要完全理解OOP,有一点必须记住:OOP其实并不一定意味着继承,而是更一般的分派决策(dispatch decision)。
Scala supports single inheritance, not multiple inheritance.
Scala支持单继承,不支持多继承。
Object inheritance is best applied to behavior, not data (see [Auer] for a lucid argument on this point).
对象继承最好应用于行为而非数据(请参见[auer]对这个问题透彻的论证)。
As with traditional inheritance languages, an object need not utilize the same class for every method it calls.
与传统的继承式语言一样,对象不必将同一个类用于它调用的每个方法。
This means that the normal inheritance rules do not apply to static calls.
这意味着普通的继承规则没有应用到静态调用中。
They were not counted along with the other Israelites because they received no inheritance among them.
他们本来没有数在以色列人中,因为在以色列人中,没有分给他们产业。
Database tables, unlike objects, do not have a concept of inheritance.
与对象不同,数据库表没有继承的概念。
If inheritance is disabled on a subdirectory, the new files created in this subdirectory will not be encrypted.
如果在子目录中禁用了继承,那么在这个子目录中创建的新文件将不会经过加密。
After all, college is about imparting knowledge, the collective inheritance of humanity - not about something as mundane as a job.
毕竟,学校是用来传授知识,传承人文科学的——而不是用来解决像工作那样世俗的事情的。
Multiple dispatch does not merely generalize polymorphism, it also provides a more flexible alternative to inheritance in many contexts.
多分派不仅仅泛化了多态性,它还在许多上下文中提供了更加灵活的继承方式。
Because of this inheritance, developers do not lose any functionality by using a strongly typed DataSet.
由于这种继承性,开发人员使用强类型数据集不会丢失任何功能。
He might not leave behind any sizable inheritance, but at least he would be taken care of, for which Tengo was tremendously grateful.
他可能不会留下任何规模的遗产,但令天吾高兴的是父亲至少可以被照料的很好。
Designing component templates comes naturally through component inheritance and does not cause a headache anymore.
通过组件继承,可以很自然地设计组件模板,并且不会产生什么问题。
As such, WSDL 1.1 did not even contain a mechanism allowing for interface inheritance.
同样地,WSDL 1.1甚至没有包含一种机制来提供接口继承。
Under my grandmother's tearful gaze, my father and my uncles hadn't yet managed to squander their entire inheritance-not all of the apartments had been sold.
在我祖母含泪的眼神逼视下,我父亲和我的叔叔们没有把他们所有的遗产都挥霍掉——就是没有把所有的房子都卖掉。
应用推荐