Once you inject one class, it leads to injecting the next and the next.
注入一个类后,它会导致注入下一个类,依此类推。
It contains only one class (XMLConstants) that defines useful constants.
它只包括一个类(XMLConstants),该类定义了一些有用的常量。
In one class, some of the methods work with arbitrary fragments of XML, as follows.
第一类方法使用任意的xml片段,如下所示。
Each data element name shall have one class word taken from a pre-defined class word list.
每个数据元素名称应该有一个取自预定义类单词列表的类单词。
She explains social mobility as a person's ability to move from one class to another.
她将社会流动性解释为人从一个阶层流动到另一个阶层的能力。
Notice that Scala provides some shortcuts for importing more than one class from the same package.
注意Scala为从同一包导入多个类提供了捷径。
At this point, you should have a client class, an interface, and one class that implements the interface.
此时,您应该有一个客户端类、一个接口、以及一个实现接口的类。
The principal thought that putting Matt and me together in one class was too much for any teacher to handle.
校长以为,麦德和我同在一个班太难管理。
The Content folder should contain one class library for each basic type of page that's supported by the module.
对于该模块支持的每个基本类型的页面,Content文件夹都应当包含一个类库。
There aren’t any problems with numbers ― if a course is popular then there will be more than one class per week.
那里不存在课容量问题,如果某门课程很受欢迎的话,那么该课程每周的课数将会不止一次。
Our object in the construction of the state is the greatest happiness of the whole, and not of any one class.
我们建设一个国家的目标在于实现全体人民的幸福,而不是某一个阶级的幸福。
Our object in the construction of the state is the greatest happiness of the whole, and not that of any one class.
我们建设一个国家的目标在于实现全体人民的幸福,而不是任何一个阶级的幸福。
Which means that as we learn to avoid one class of distractions, new ones constantly appear, like drug-resistant bacteria.
也就是说当我们学会避免一些分心事物的时候,总会有新的分心事物出现,就好比是抗药细菌一样。
Aggregation and composition relationships generally represent "has a" relationships, where one class is subordinate to another.
聚合和复合关系通常表示“拥有”关系,其中一个类隶属于另一个类。
A static attribute is of interest to an object modeler only if it can be used to distinguish one class of objects from another.
对象建模者关心静态属性仅当它可以用来区分一类对象与另一类对象。
While you've created a fairly sophisticated model here, you've only given the user the ability to maintain one class of objects.
虽然本文已经创建了一个相当复杂的模型,但用户还只能维护一类对象。
Limit the tests to one class at a time, and run only the tests that are likely to expose gaps in the coverage of that one class.
每次把测试限制在一个类上,而且只运行能够暴露这个类的覆盖不足的测试。
This comparison code defines hashCode() and equals() methods for checking when one class or method can be substituted for another.
这个比较代码定义了hashCode()和equals()方法,用来检测类或方法什么时候可以相互替代。
Component tests are essentially tests that verify more than one class and, typically, rely on external dependencies such as a database.
组件测试是基本的测试,这些测试将验证不止一个类,且通常依赖于外部依赖项,如数据库。
If you do, you discover that one class of requirements is suddenly overriding another, which leads to additional trouble in the future.
如果忽略了其中的某个方面,您会发现某一类需求突然超越了其他需求,而这会在以后带来更多的麻烦。
A relationship between two classes where instances of one class use instances of the other class, but do not store them as attributes.
依赖关系:两个类之间的一种关系,一个类的实例使用了另外一个类的实例,但并未作为属性来存储。
There are often cases when designing a page when one class should have all the styles of another class, as well as its own specific styles.
设计网页的时候经常会遇到这样的情况:一个类可能除了自己的样式外,还需要其他类的所有样式。
Classes of objects can also be further grouped into hierarchies, in which objects of one class can inherit methods from another class.
对象的类也可更进一步组合成层,而在层中一个类的对象可继承另一个类的方法。
They are fit for braving the chilly weather while running from one class to the next and will help your wardrobe transition into winter.
当你冒着寒冷的天气从一个课堂跑到另一个课堂,它们可以帮你抵挡寒风,并能帮你的衣橱过渡到冬天。
Current regulations tie foreign workers too tightly to a single employer, which empowers employers with disproportionate control over one class of workers.
现行法规将外籍劳工拴在一个雇主身上,雇主对这类劳工的控制过于强大。
The one I present in this article only crosscuts one class, but the principles are the same. Listing 1 contains one implementation of the Highlighter aspect.
我在本文中展示的这个例子只横切一个类,但是原理是一样的。
Contract programming means that one class provides a contract to another — in other words: "Here is what I will do, and you don't need to know how it's done."
契约编程意味着一个类向另一个类提供一张契约——换言之:“这是我要做的工作,你不需要知道它是怎样完成的”。
Other teachers that I went with taught middle-school age students, high-school aged students, and even one class of English teachers and very advanced students.
和我一起在那里教书的其他(外籍)教师则有教初中生的,有高中生的,甚至还给(当地的)英语老师及很高水平的学生上课。
Wherever you're tempted to copy code from one class to the next, stop and consider how you can use class hierarchies to leverage similar or identical functionality.
无论何时,如果想将代码从一个类复制到下一个类中,请停下来并考虑如何使用类层次结构利用类似功能或相同功能。
Wherever you're tempted to copy code from one class to the next, stop and consider how you can use class hierarchies to leverage similar or identical functionality.
无论何时,如果想将代码从一个类复制到下一个类中,请停下来并考虑如何使用类层次结构利用类似功能或相同功能。
应用推荐