Will GC collect object if somebody holds a reference of it as interface?
如果有人认为它将GC参考界面收集对象?
In your test code, create a mock object implementing the same interface as the collaborator.
在测试代码中,创建模仿对象且实现与合作者相同的接口。
You start with an interface describing the service just as you did before.
跟前面一样,首先编写一个描述服务的接口。
You must also define an asynchronous version of the interface, as shown in Listing 3.
您还必须定义一个异步版本的接口,如清单3所示。
[Plus as a side benefit you also] get to present your own user interface.
[另一附带好处是你还可以]展现自己的用户接口。
You can imagine a simple implementation to your original interface, as shown in Listing 4.
您可以想像原始接口的一个简单实现,如清单4所示。
Behind the new interface, you'll find some new applications as well.
伴随新界面而来的是一些新的应用程序。
Figure 1 shows, as an example, the interface of an approval task.
例如,图1中显示了审批任务的接口。
The interface should update, as shown in Figure 3.
更新后的界面如图3所示。
So you'll declare your service interface, as shown in Listing 2.
首先要声明服务接口,如清单 2 所示。
You can start using any surface, any wall around you, as an interface.
你可以用任何表面或墙壁,当成界面。
An import must have the same interface as the component to which it is bound.
导入必须具有与所绑定的组件相同的接口。
The asynchronous interface must also live in the same package as the remote interface.
异步接口必须放在与远程接口相同的包中。
As before, create an interface.
与前面一样,创建一个接口。
As I said earlier, this class must implement the ContractManager interface.
如前所述,这个类必须实现ContractManager接口。
A general ImageViewer interface is under development as well.
通用的ImageViewer接口也正处于开发阶段。
The name of the interface file is OrderCompensation.wsdl, as shown in Figure 2 below.
接口文件的名称是OrderCompensation.wsdl,如下面的图2 所示。
Class and interface names begin with a capital letter, as in Frame.
类和接口名以大写字母开头,如Frame。
In this case, your interface is set as auto-negotiate.
在这个示例中,您的接口设置为自动协商。
This step creates a new interface map, as shown in Figure 27.
此步骤将创建一个新的接口映射,如图27所示。
Our interface was simple, therefore our implementation is simple as well.
我们的接口很简单,所以我们的实现也很简单。
Report generation is handled from a single interface, as shown in Figure 23.
报告生成是从单个界面进行处理的,如图23所示。
In this use case, the system interface component is the implementation of such as contract.
在此用例中,系统接口组件是契约之类内容的实现。
An interactive application such as a GUI interface is an example.
如GUI接口之类交互式应用程序就是这样的例子。
Come up with the interface for that as you're writing the test.
在编写测试的时候,接口就随之浮现出来。
I like its prowess as well as its simple to use interface.
我喜欢它的功能强大同时界面易用。
The short message service interface is described as shown in Figure 4.
短消息服务接口的描述如图4所示。
The process for implementing this interface is essentially the same as the original version.
实现这个接口的过程,和之前的版本一样。
KeyGuard is a Unique Application so as its interface.
键盘锁是一个独特的应用,使作为其接口。
You can use a Web page as an interface to data in many other scenarios.
您可以使用Web页面作为许多其他场景数据的界面。
应用推荐