封装指的是使对象成为黑箱的概念,这样当使用对象时就不知道它的内部工作原理。
Encapsulation refers to the concept of making an object a black box, so that when you use that object you do not know its internal workings.
运行时:在响应时间和CPU的消耗两者上性能的下降(即使当使用对象池时),明显有着复杂嵌套对象。
Run time: performance degradation (even when using object pools), both in response time and CPU consumption, is evident with complex nested objects.
当对象具有全局名称时,使用该资源的每个实体可以使用应用程序的特定名称,该名称即为引用。
While the object has a global name, every entity that uses the resource can use an application specific name, which is the reference.
当数据集合完全填充满而且对象也被创建之后,您就可以使用它来查看枚举中每一个值的标签。
When the data set is fully populated and the object is created, you can use it to look up the labels for each value in the enumeration.
JDK的动态代理用起来非常简单,当它有一个限制,就是使用动态代理的对象必须实现一个或多个接口。
The JDK dynamic proxy is simple to use, but the JDK dynamic proxy approach requires the target objects implement one or more interfaces.
当访问计划使用了MQT时,db 2 exfmt输出将展示一个被访问的MQT对象。
When an access plan USES an MQT, the db2exfmt output shows an MQT object being accessed.
当需要访问单个类型的所有对象的某些全局数据时,请考虑使用此关键字。
Think of it anytime you require access to some global data for all objects of a single type.
您还可以保存一种类型的值,然后在其他类型的业务对象中使用它们,当不同的业务对象中具有类似的数据时,这非常有用。
You can also save values of one type and then use them in the business objects of other types, which is useful when you have similar data in different business objects.
在前一期文章中我们看到了,弱引用如何可以给应用程序提供当对象被程序使用时另一种到达该对象的方法,但是不会延长对象的生命周期。
In the previous installment, we saw how weak references can provide an application with an alternate means of reaching an object while it is used by the program, but without prolonging its lifetime.
当一个对象必须操作一个对象集合时,它有效地使用过程化代码来完成该操作。
When an object has to manipulate a collection of objects, it effectively USES procedural code to complete the operation.
这两种语言都倾向于强类型,因为当您试图使用一个它们期望之外的类型结构的对象时,它们都会抛出错误消息。
Both languages lean toward strong typing because both throw error messages when you try to use an object outside of its intended type structure.
当等待单一线程同步对象时,可以使用此方法。
You can use this method when waiting on a single thread synchronization object.
当这个对象完成它的工作之后,它被返回给池,可供以后重新使用。
After the object finishes its job, it is returned back to the pool and can be reused later.
当线程经过合作对象时,事务管理程序使用线程的事务上下文来执行所有的工作。
As the thread passes through the collaborating objects, the transaction manager USES the thread's transaction context to perform all work.
我认为[敏捷开发]对面向对象的设计有一些影响,当人们[使用]……增量式开发,而不是试图[事先弄清楚所有需求]时。
I think some of the influence [on agile development] was object-oriented design, when people [used]... incremental development, rather than trying to figure out [all the requirements a priori].
当需要为业务对象创建新的实例时,您可以使用值。
When you want to create a new instance of a business object, you use the value.
当对象的状态更改时如果对象的散列值发生变化,确信当状态作为散列关键字使用时您不允许更更改其状态。
If an object's hash value can change when its state changes, be sure you don't allow its state to change while it is being used as a hash key.
当设计一个面向对象的框架时,实际上可以使用两种抽象工具:方法和类。
When you design an object-oriented framework, you have essentially two abstraction tools available: methods and classes.
当该数据对象使用转变api被序列化到XML时,这些元素就会被写回。
When this data object is serialized to XML using the convert API, these elements are written back.
现在,当对话框出现时,它能使用选择对象生成一个链接项。
Now when the dialog box is shown, it can use this selection Object to produce a link item.
我们的观点是,仅当需要在不同对象间实现同一个行为而又无法使用继承时,才使用认担动作。
Our view is that you should only use contributed actions where you have a behaviour that you want implemented across multiple types of object that can't inherit it.
当显示用于公共使用时,只需将ZODB对象容器称为“文件夹”,用户将非常愉快地导航对象层次结构,就像是导航熟悉的文件系统一样。
Just call your ZODB object containers "Folders" when displaying them for public consumption, and users will happily navigate your object hierarchy as though it were a familiar filesystem.
当带更改摘要的数据对象序列化时,也将保存其相应的更改摘要,并能够使用该数据对象进行恢复。
When a DataObject with a change summary is serialized, the change summary is also saved and can be restored with the data object.
当装载单一对象时,运行的查询并不比使用惰性关联时少。
When a single object is loaded, no fewer queries are run than if lazy association is used.
不过,当直接使用SDO的早期版本及其JDBC数据中介服务时(如此处所做的),需要您自己定义和填充此对象。
However, when working directly with the early version of SDO and its JDBC data mediator service, as you are doing here, you need to define and populate this object yourself.
当表单使用的业务对象被更新时,有一个新功能将更新表单的XFDL。
When a business object used by a form is updated, a new capability updates the XFDL for the form.
当生成. NET集合的时候,可以使用它们的类创建对象并调用成员,就像COM对象和成员是原生. NET的类和成员一样。
When the.net assemblies are generated, you can use their classes to create objects and to call members as though the COM objects and members were native.net classes and members.
当客户端获得引用时,它使用“窄”调用将从 ORB返回的通用对象处理成所需的对象类型。
When the client has the reference, it uses a “narrow” call to marshal the generic object returned from the ORB into the desired object type.
当客户端获得引用时,它使用“窄”调用将从 ORB返回的通用对象处理成所需的对象类型。
When the client has the reference, it uses a “narrow” call to marshal the generic object returned from the ORB into the desired object type.
应用推荐