The overhead of defining separate classes is paid back in terms of reusability.
定义单独类的开销在重用性方面获得了回报。
In this example, a student will use the train (each depicted by separate classes) in order to go to school.
这个例子中,学生将乘坐火车(每部分都由单独的类描述)上学。
Other than being consistent with the widgets already created, why create separate classes for these other controls?
除了要与已经创建的窗口小部件一致之外,为什么还要为其他控件创建单独的类呢?
The first is externalizing all data access to domain objects and their relationships to separate classes or interfaces.
第一种是具体化所有访问域对象的数据以及数据与单独类或接口之间的关系。
For example, most people are reluctant to think carefully about issues like whether boys and girls should take separate classes.
比如,大多数人不愿意去仔细考虑类似男生女生是否应该分班上课的问题。
The returns on these pools were then sliced into a hierarchy of "tranches" that were sold to investors as separate classes of securities.
从这种债务池发生的收益被分级分类“切块块切块”,作为另一类债券,出售给投资人。
That can happen if things are bad enough. But I think before that, there are a lot of steps. For instance, put the kids in separate classes.
如果情况确实很恶劣,我会这么做。但我想,这的动作太大了,比如说,要把孩子分到不同班级去。
The facility manager may elect to include contractor personnel in plant operation or maintenance training, or hold separate classes for contractors.
现场经理可能会选择让承包商人员参与工厂工作或维护培训,或是针对承包商单独开设培训课程。
Online games have moved beyond the simple PC environment (as evidenced by the mention of at least three separate classes of devices -- game consoles, cell phones, and hybrids).
在这个场景中只提到了三类设备 ——游戏机、手机和混合型设备,但是这足以说明在线游戏已经超出了简单的PC环境。
Business logic and any non-persistent data can be implemented completely in partial classes and methods of entities and the data context, or it can be implemented in separate classes.
商务逻辑以及任何非持续性资料则可完全实作在实体的部分类别和方法和资料内容,或可以实作在另外的类别中。
In this article, I have shown you how document handler code, developed for handling the different elements in a parsed XML file, can be simplified by creating separate classes for each element.
本文展示了在需要处理已解析XML文件中不同元素的文档处理程序代码中,如何通过为每种元素创建单独的类来简化编码。
No, the classes fall into a separate category.
不,这些课程属于一个单独的类别。
Work has already started on constructing compost toilets for the children and partitions are to be constructed to help separate the classes.
为孩子们建造有机厕所的工作已经开始了,还要把教室分隔开来,让不同的班级有自己的教室。
Corresponding classes are successfully generated for the entire XSD, so no separate internal XSD is required.
成功地为整个xsd生成了对应的类,因此不需要任何单独的内部XSD。
In a large project where you have many classes and expose several interfaces, you might organize your code with a separate directory for the aspects that implement argument checking.
在一个大的项目中,你有很多类并暴露少数的一些接口,你可以使用用于方面的一个单独的目录来组织你的编码,进而实现实参的检查。
We separate our code into different classes, or modules.
我们将代码分解到不同的类或模块中。
Mapping can be done by separate XML files, or by attributes on classes, properties, and member variables.
映射可以同过分离的XML文件实现,也可以通过在类属性上添加特性来实现。
Since this kind of invocation does not result in generation of stub classes and does not require a separate compilation cycle, it is very convenient.
因为这类调用不会导致生成存根类,并且不需要单独的编译周期,所以它很方便。
While I can keep eight separate sections of text in my mind and contrast and echo them, I can't make sense of a program beyond the classes I design and their interfaces.
尽管我能记住八个单独的文本部分,对其进行对比和回显,但我搞不清楚在我所设计的类及其接口之外的程序的意义。
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.
尽管在实际的插件中,您可以选择用不同的包对相关的类进行分组,但在本例中,只有两个类,所以不必这样做。
To do this, separate the shapes that represent the internal classes onto a separate layer, and then hide the layer to instantly simplify your diagram.
为了实现这一点,您可以将代表内部类的形状分隔为单独的层,然后立即隐藏层以简化图表。
You might combine the presentation and domain layers in a single WAR file, or your domain classes might be in a separate EAR file.
可以将表示层和域层结合放到单个WAR文件中,或将域类单独放到一个EAR文件中。
Given that I am the EJB Advocate, you can imagine that I lean towards using J2EE components without separate delegate classes.
考虑到我是ejb倡导者,您可以想像得到我倾向于使用不采用各个委托类的J2EE组件。
In version 1.2, there were approximately 80 separate log calls spread across 15 classes.
在1.2版本中,大约有80个单独的记录日志调用分布在15个类中。
The model handles known extension elements by using separate bindings for each extension namespace, each with its own set of classes.
这个模型会为每一个扩展名称空间使用不同的绑定来处理已知的扩展元素,每一个扩展名称空间均对应不同集合的类。
A separate .jar file that contains all your custom fixture classes
一个包含所有自定义fixture 类的单独.jar文件
Separate the responsibilities into two different classes, such as.
拆分职责到两个不同的类中,如。
It's better to separate it from the application source directory because some value classes can already exist, and wscompile overwrites them.
最好将它与应用程序源目录分开,因为可能已经存在一些值类,wscompile会覆盖它们。
It's better to separate it from the application source directory because some value classes can already exist, and wscompile overwrites them.
最好将它与应用程序源目录分开,因为可能已经存在一些值类,wscompile会覆盖它们。
应用推荐