I see many things out there that implement object resizing in this manner, and I have two words to say about them.
我看到很多东西那里的实施对象,以这种方式调整大小,我有两个词对他们说。
However, there is not an option to check if objects implement the interfaces they claim to implement, and there is no way of introspecting an object to list the interfaces it supports.
不过,没有选项来检查对象是否实现了它们所声明的接口,而且也没有办法可以调查对象内部以使列出其支持的接口。
And you must implement some custom code to render the useful data from the retrieved complex object.
并且,您必须实现一些自定义代码来呈现检索到的复杂对象中的有用数据。
We implement it with another DIV element because this object can contain all other objects including itself.
我们使用另一个DIV元素来实现它,因为此对象可以容纳包括自身在内的所有其他对象。
To implement this application, we need a business object representing the order information.
要实现此应用程序,我们需要一个表示订单信息的业务对象。
In this way, the object returned from the static factory method could implement any number of interfaces defined when I create the proxy.
用这种方式,静态工厂方法返回的对象可以实现建立代理时所定义的任意数量的接口。
An alternate method of writing an adapter - and one that some prefer - is to implement an interface to adapt behavior, rather than extending an object.
编写适配器的替代方法——并且是推荐方法——是实现一个接口来修改行为,而不是扩展对象。
The ORB would then intercept the message and be responsible for finding an object that could implement the request, pass it the parameters, invoke its method, and return the results.
ORB截获这条消息,并负责搜索一个能执行该请求的对象,将参数传递给它,调用它的方法,然后返回结果。
In the remainder of the article, we will show how to implement our simplistic mock object scheme, exploiting a set of libraries and components that greatly reduce the work required.
在本文的其余部分中,我们将介绍如何实现简单的模拟对象方案,其中利用一组库和组件大大减少了所需的工作。
One of the most important things to implement when authoring a pool is a suitable object lifetime policy.
在创作池时需要实现的最重要的功能之一是适当的对象生存期策略。
When we implement our mock object, we will need to consider how to produce the different errors needed to drive the different paths.
在实现模拟对象时,我们需要考虑如何生成驱动不同路径所需的不同错误。
In traditional Object-Oriented (OO) design, it is common to have multiple object instances that implement the same interface.
在传统的面向对象(OO)设计中,通常让多个对象实例实现相同的接口。
These providers implement APIs for object transfer, management, and metadata management.
这些提供商实现用于对象传输、管理和元数据管理的API。
Another form of object loitering arises when arrays are used to implement data structures such as stacks or circular buffers.
当数组用于实现诸如堆栈或环形缓冲区之类的数据结构时,会出现另一种形式的对象游离。
A Browser Helper Object follows the same pattern-the only changes are the interfaces to implement.
一个BHO对象遵循同样的模式——唯一的改变在于要实现的接口。
There's only one method to implement: public Object invoke (MethodInvocation invocation) throws Throwable.
要实现的方法只有一个:publicObjectinvoke (MethodInvocation invocation) throws Throwable。
You could also use an application object to implement the Resource interface to support dynamic properties.
您还可以使用一个应用程序对象来实现Resource接口以支持动态属性。
Listing 11 shows how to implement a for-each loop to repeat the same action on every object in the array.
清单11显示如何实现一个for - each循环来在数组中的每个对象上重复同一个动作。
You can also implement a BeanInfo class for your application object bean.
您还可以为应用程序对象Bean实现一个beaninfo类。
In addition to taking the same steps that you took in the first tutorial, for the second tutorial you implement a Personalization application object to get data from a Web service.
除了采取与第一个教程中相同的步骤之外,对于第二个教程,您将实现一个Personalization应用程序对象以便从Web服务获取相应的数据。
In both cases, the object representing the sdo must implement the commonj.sdo.DataObject interface, which enables it to interact with the other sdo APIs the specification defines.
在两种情况下,表示sdo的对象都必须实现commonj . sdo .DataObject接口,通过该接口可与规范定义的其他sdoAPI进行交互。
In this sample application, we will import BlazeDS to implement the remote object.
在这个示例应用程序内,我们将导入BlazeDS来实现这个远端对象。
Plug-ins that are developed with the Lotus Sametime Connect toolkit implement and register a single message processing object that extends the DefaultMessageHandler type.
使用LotusSametimeConnect工具箱开发的插件实现并注册了一个消息处理对象,该对象扩展了 DefaultMessageHandler 类型。
To implement this class, you first create the JspWriter object to send the HTML content to the browser.
要实现这个类,首先要创建J spWriter对象以便向浏览器发送HTML内容。
To implement this, Spring wraps the original service object with a transactional proxy.
为了实现这一点,Spring使用事务代理来包装原始服务对象。
Now any object needing access to the AccountOperationValidationService simply has to implement this interface and declare itself as a client.
现在,需要访问AccountOperationValidationService的对象必须实现这个接口,并把自己声明为客户。
To implement the logic to do the transformation between the business object and the XML string, copy the code in Listing 4 to the class ContactComponentImpl.
要实现业务对象与xml字符串之间传输的逻辑,将清单4中的代码复制到类ContactComponentImpl。
The create method that you need to implement will be passed the content of the new object being created, and you can use SDO information from it in the validator logic
您需要实现的create方法会传递给将要创建新对象的内容,您可以在验证器逻辑中使用其中的SDO信息
Our mock object will then implement both the service interface of the component it is replacing, plus the controller interface. An outline of a mock object implementation would look like
然后,我们的模拟对象将同时实现它替换的组件的服务接口和控制器接口。
You then need to implement a DOMErrorHandler object, to which validation errors will be reported, and register it with the Document using the error-handler parameter.
然后需要实现一个DOMError handler对象,验证错误将报告给这个对象,再用error - handler参数将这个对象注册到Document上。
应用推荐