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.
在测试代码中,创建扩展(专用于)目标对象的特殊化对象。
The code to create this object is shown in Listing 14.
创建此对象的代码如清单14所示。
Listing 3: Code to create a GridFileSystem object.
列表3:创建GridFileSystem对象的代码。
In the code above, I create a com.sun.rowset.CachedRowSetImpl object.
在上面的代码中,我创建了一个com . sun . rowset . CachedRowSetImpl对象。
Is this code correct to create a new object for the parameter to an event?
这段代码创建一个事件参数的一个新对象吗?
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.
在代码中,创建您为数据源选择的对象类型的实例。
应用推荐