In your test code, create a mock object implementing the same interface as the collaborator.
在测试代码中,创建模仿对象且实现与合作者相同的接口。
In your test code, create a specialization object that extends (specializes) the target.
在测试代码中,创建扩展(专用于)目标对象的特殊化对象。
I put this just below the code that creates a request object, in hoverbox-ajax.js.
我将上述代码放到了hoverbox - ajax . js中用于创建请求对象的代码的下面。
This code stores a list of entries in the feed object.
该代码将一系列条目存储在feed对象中。
In this code, Html is the object that will encapsulate the whole of the document.
在这段代码中,Html是封装整个文档的对象。
The bulk of the code that we write here is in an object called BuddyNoteServerStorage.
我们在此编写的代码块位于名为BuddyNoteServerStorage的对象中。
In Figure 1, the client code makes use of a server object through its interface.
在图1中,客户机代码通过接口使用服务器对象。
The code to create this object is shown in Listing 14.
创建此对象的代码如清单14所示。
If available, the approximate line number in the source code where the object was created.
如果有的话,显示源代码中创建对象的位置的大约行数。
After this code executes, the object layout is as depicted in Figure 2.
在这段代码执行后,对象布局就如图2所示。
In the code above, I create a com.sun.rowset.CachedRowSetImpl object.
在上面的代码中,我创建了一个com . sun . rowset . CachedRowSetImpl对象。
The following example shows how the Session object can be used in the code.
下面是如何作用Session的代码片段?
Fill in the template with the code for your object.
使用对象的代码填充该模板。
In your code, create an instance of the type of the object that you chose for the data source.
在代码中,创建您为数据源选择的对象类型的实例。
In your code, create an instance of the type of the object that you chose for the data source.
在代码中,创建您为数据源选择的对象类型的实例。
应用推荐