First, I now have two classes that are much more focused on their particular jobs than before.
首先,与以前相比,现在的这两个类更集中于自己的任务。
In effect you have two classes of developers, those who simply wire together controls and those who define them.
实际上,你会拥有两类开发人员,一些把这些控件简单组合在一起,一些来定义这些控件。
In the afternoon I often play games with my classmates before class begins. We have two classes in the afternoon.
下午上课前我经常和同学们玩游戏。我们下午上两节课。
Do you have your classes in the morning? Well, most of them are in the morning. But on Tuesday we have two classes in the afternoon.
你们是在上午上课吗?嗯,大部分课都在上午,不过星期二我们有两节课在下午。
We have two classes of Membership that allows both Individuals and corporate to join - the annual fee are RMB 1000 and RMB 5000 p. a. respectively.
我们有两种类型的会员,个人和公司都可加入,每年的会员费分别是1000元和5000元。
The two colleges have a reciprocal arrangement whereby students from one college can attend classes at the other.
两所学院有一项互惠协定,允许学生在院际间选课。
There are at least two classes of these receptors, which have been designated A1 and A2.
这些受体至少有两类,分别被命名为A1和A2。
我们还有两节课。
Some programmers create classes to organize their work, but it seems that no two programmers have the same ideas about how to write their classes.
一些程序员创建类来组织其工作,但似乎没有任何两个程序员对于如何编写类具有相同的看法。
This is primarily to avoid name clashes: If two classes have the same attribute and are mapped to global names, they may conflict.
这样做主要是为了避免名称冲突:如果两个类具有相同的属性,映射为全局名可能会造成冲突。
So, for example, a protocol test spreadsheet will have these two classes customized for the structure of that specific protocol.
例如,一个协议测试电子表格将拥有两个已针对特定的协议进行定制的类。
I have modified the JSP file and created two new classes: one to contain form data and one to call the business package.
我已修改了JSP文件,并创建了两个新类:一个类用来包含表单数据,一个类用来调用业务包。
We have provided two helper classes for resolving names and querying group members in a recursive manner.
我们以递归方式为解析名称和查询群组成员提供了两个帮助器类。
When you design an object-oriented framework, you have essentially two abstraction tools available: methods and classes.
当设计一个面向对象的框架时,实际上可以使用两种抽象工具:方法和类。
Now that you have declared your two classes, you just need to tell the JPA runtime how to connect to your database.
既然已经声明两个类,只要告诉JPA运行时如何连接数据库。
These classes usually have two versions of methods: one that takes a Locale argument and another that assumes the default.
这些类通常有两个版本的方法:一个带Locale参数,另一个假设为默认。
This principle states that if we have 2 reasons to change for a class, we have to split the functionality in two classes.
这个原则指出,如果有两个原因去修改一个类,我们必须拆分它的功能到两个类中。
An example of this is when you have two EARs deployed whose entity classes (JPA, Hibernate, etc.) Shared common tables.
一个例子是你部署了两个EAR应用,它们的实体类(JPA、Hibernate等)共用同一个表。
Any time you think that you have a simple m: m relationship between two classes, a third class is probably waiting to be discovered.
任何时候您认为两个类之间存在着简单的m: m关系时,可能还需要从中发现第三个类。
Defines the associations between two classes that have the stereotype applied, such as Cascade and Fetch details.
定义两个应用了模板的类之间的关联,比如Cascade和Fetch细节。
We have two new classes to deal with in order to implement basic nonblocking socket read and write operations. These are the InetSocketAddress class from the java.net.
为了实现基础的非阻塞套接字读和写操作,我们要处理两个新类。
Rather than merely redefining or adding specific methods as in most inheritance patterns, Spark concrete classes have two features (the general pattern is common to the stages and various parents).
Spark具体类并不象大多数继承模式中的类那样仅仅重新定义或添加特定的方法,而是具有两种特性(一般的模式与各阶段和各种父模式都一样)。
You can argue (and some of us did) that we should have removed it from those two classes as well, but for good or for ill we have landed where we have.
你可能主张(我们的一部分开发人员抱有同样的态度):应该将它从这两个类中移走,然而好也罢歹也罢,我们终究作出了选择。
For any two classes that have some relationship, identify the semantics of the relationship: is it association, aggregation, composition, or inheritance?
对于任意两个之间具有关系的类,确定关系的语义:是关联、聚合、合成还是继承?
Figure 7 shows two files that have not been tested because they contain classes that were never loaded at runtime.
图7显示了两个未经测试的文件,因为他们包含在运行时从不被载入的类。
On one level, there are things like companies that have two. Different classes of stock that are economically identical.
一方面,我们有这样的例子,有的公司拥有两种,不同类别的股票,他们在经济意义上是相同的。
While you might choose to have separate packages for grouping related classes in a real-world plug-in, in this case, there will be only two classes, so there's no need.
尽管在实际的插件中,您可以选择用不同的包对相关的类进行分组,但在本例中,只有两个类,所以不必这样做。
Unlike the previous two timer classes that I have just covered, System.Threading.Timer has four overloaded constructors. The following shows what they look like.
不像我开始描述的两个定时器类,System . Threading . Timer有四个重载构造函数,就像下面这样。
Unlike the previous two timer classes that I have just covered, System.Threading.Timer has four overloaded constructors. The following shows what they look like.
不像我开始描述的两个定时器类,System . Threading . Timer有四个重载构造函数,就像下面这样。
应用推荐