结构AbstractFactory:声明一个接口创建抽象产品对象的操作。
AbstractFactory- declares a interface for operations that create abstract products.
May define an interface that lets Strategy access its data.
They simply define an interface that other objects are responsible for implementing.
Any device should have an interface that can understand human speech.Combinations with other parts of speech
在此解决方案中,您将Subject类改为一个接口。
In this solution, you change the Subject class into an interface.
The interface keyword is used to declare a interface.
Let suppose you have a link like that:.类声明实现一个接口,但不实现所有必需的方法,如:classYimplementsActionListener{}。
Class claims to implement an interface, but does not implement all the required methods, such as in: class Y implements ActionListener{}.一个bean类型可能是一个接口、一个具体的类或者一个抽象类,并且可能申明为final或者有.
A bean type may be an interface, a concrete class, or an abstract class and may be declared final or have final methods.MapMap是一个接口,实现它的类不能包含重复的key,这一点和hashtable很相似。
Map is an interface, classes that implement it cannot contain duplicate keys, and it is similar to a hashtable.该项目模板还提供了一个接口(结构、常量),提供在其他插件中存在的所有Notepad++功能。
The project template also provides an interface(structs, constants) for the all Notepad++ functionality normally available within any other plugins.因为EventHandler是一个委托类型而不是一个接口,每个观察者不需要实现一个额外的接口。
Since EventHandler is a delegate type and not an interface, each Observer doesn't need to implement an extra interface.核心功能通过一个接口或者抽象类(如Stream)定义,所有装饰都派生自它。
The core functionality is defined either by an interface or by an abstract class(like Stream) from which all the Decorators derive.通常,一个接口是一个硬件设备,但是它也可能是一个纯粹的软件设备,比如环回接口。
Usually, an interface is a hardware device, but it might also be a pure software device, like the loopback interface.抽象类看起来很像一个接口,但这个概念对于OOP的初学者来说有点混乱。
An abstract class looks a lot like an interface, but the concept is a bit confusing for the beginners of OOP.既然Lock是一个接口,在你的程序里需要使用它的实现类之一来使用它。
Since Lock is an interface, you need to use one of its implementations to use a Lock in your applications.在Web服务系统中,每个应用程序都使用一个接口,将信息从该应用程序转换到Web服务器。
In a web services system, each application uses an interface to translate the information from the application to the web server.面向对象的抽象原则要求一个类提供一个接口给外部世界,并通过这个接口来访问类。
The object-orientation principle of abstraction requires that a class provide an interface to the external world and that it be accessible via this interface.它们有两个主要目的:HTML遍历:为程序员提供一个接口,来轻松地访问和修改“HTML代码”。
They have two main purposes: HTML traversal: offer an interface for programmers to easily access and modify of the"HTML string code".在测试和管理CiscoIOS设备时,环回接口非常有用,因为它将确保至少有一个接口始终可用。
The loopback interface is useful in testing and managing a Cisco IOS device because it ensures that at least one interface will always be available.其实,智能硬件只不过是我们的智能服务与用户之间的一个窗口、一个桥梁、一个接口。
In fact, intelligent hardware is only between intelligent service and our users a window anda bridge, an interface.如果没有地址满足上述条件,选择一个指派给发送结点上的一个接口的全局地址。
If there is no address that satisfies the above condition,choose a global address assigned to one of the interfaces on the sending node.服务公开了一个接口契约,它定义了服务的行为以及接受和返回的消息。
A service exposes an interface contract, which defines the behavior of the service and the messages it accepts and returns.图像处理公司编写它的类来实现一个接口,并将其公开给客户。
The image processing company writes its classes to implement an interface, which it makes public to its customers.那些工具还提供了一个接口,软件设计师们可以利用那个接口在伯格或Mesos平台上运行他们自己的应用程序。
The tools also provide an interface that software designers can then use to run their own applications atop Borg or Mesos.顺便说一句,另一个接口,你很可能会作为一个网页设计师是应用程序编程接口或API的遭遇。
Incidentally another example of interfaces that you will likely encounter as a web designer is Application Programming Interfaces or APIs.
It is an error for an interface to directly or indirectly inherit from itself.他们成功地发现了有关一个接口的更多信息,到目前为止,对该接口知之甚少。
They succeeded in uncovering more information about an interface about which so far very little was known.它定义了一个接口,使程序能够访问和更新样式,结构和XML文档的内容。
It defines an interface that enables a user to modify and update the style, structure, and content of the XML document.