在使用接口时,尝试避免直接引用实现类。
When you use interfaces, try to avoid ever referring to the implementation classes directly.
另一方面,单个类可以实现多个接口。
For another, a single class can implement multiple interfaces.
第二个包中的类文件实现了第一个包中的接口。
The class files from the second package implement the interfaces from the first.
假设有个类型D,它的基类B实现了某些接口。
Suppose you have a derived class D whose base class B has implemented some interfaces.
任何定制事件类必须实现XMLEvent接口。
Any custom event class must implement the XMLEvent interface.
如前所述,这个类必须实现ContractManager接口。
As I said earlier, this class must implement the ContractManager interface.
Developer应该为每个定制服务提供一个接口类和实现类。
Developer should provide an interface class and implementation class for each custom service.
分布类中是否重新声明它所实现的接口也是可选的。
It is always optional to re-state any base interface in a partial class.
groovy脚本必须包含至少一个实现接口的类。
The GroovyPdfGenerator.groovy script must contain at least one class that implements your interface.
在客户端,定义一个实现 AsyncCallback接口的类。
On the client side, you define a class that implements the interface AsyncCallback.
Class是实际的类,比如实现枚举接口的类。
Class is the actual class, such as a class that implements the enumeration interface.
选择实现上一步所选接口的事件类。
Please choose the event class that implements the interface you chose in the previous step.
应该为每一项职责定义类或接口的方式实现职责分离。
Separating responsibility can be done by defining for every responsibility a class or an interface.
实现该接口的类定义了对象从何读取。
The class that implements this interface defines where the object is "read" from.
interface一个类可以实现多个接口。
在类关系图上,显示要实现接口的类。
On the class diagram, display the class that you want to implement the interface.
在类关系图上,显示要实现接口的类。
On the class diagram, display the class that you want to implement the interface.
应用推荐