例如,系统类是不可修改的,而用户定义接口类虽然可以修改,但是不能包含实际的实现代码。
System classes, for instance, are not modifiable, while user-defined interface classes can be modified, but can't include actual implementation code.
这个阶段准备代表每个类中定义的字段、方法和实现接口所必需的数据结构。
This stage prepares the necessary data structures that represent fields, methods, and implemented interfaces that are defined within each class.
该层次结构包括四种常规类型的类:用于已定义类型的接口、用于实际元素的接口和这两组接口的实现。
This hierarchy includes four general types of classes: interfaces for the defined types, interfaces for the actual elements, and implementations for both sets of interfaces.
数据访问应用程序的其他层不会使用实现类的名称;它们总是引用和使用用户定义接口。
The implementation class name is never used by other layers of the data access application; they always reference and use the user-defined data access interface.
每个转换扩展定义,就像子元素一样,指定实现规则接口的类的规则定义。
Each transformation extension defines, as child elements. a rule definition that specifies a class that implements a rule interface.
创建自定义HTTP模块和HTTP处理程序是相对简单的任务,包括创建实现正确接口的托管类。
Creating custom HTTP modules and HTTP handlers are relatively simple tasks, which involve created a managed class that implements the correct interface.
基本的解决方案是定义可以用静态编译的代码访问的基类或者接口,然后生成的类扩展这个基类或者实现这个接口。
The basic solution is to define a base class or interface that can be accessed by the statically compiled code, then extend that base class or implement that interface in the generated class.
数据绑定类实现一个预定义的接口,并在SCA应用程序边界作为“导出”或“导入”的一部分进行配置。
The Data Binding class implements a predefined interface and is configured as part of the Export or Import at the boundaries of an SCA application.
由于这些类提供的操作相同,您可以使用一个接口来定义一个所有类实现的协定。
As the operations offered by the classes are the same, you can use an interface to define a contract that all of your classes implement.
图1说明了用户定义的带注释的方法接口、代码生成器和生成的实现类之间的关系。
Figure 1 illustrates the relationship between the user-defined data access interface, the code generator, and the generated implementation class.
定义一个关系,指明那两个新建的类是这个接口的实现。
Define a relationship which indicates that the two newly created classes are implementers of the interface.
PHPV 5允许定义部分实现的类,其主要角色是为它的子女指定核心接口。
PHP V5 allows you to define a partially implemented class whose main role is to prescribe a core interface for its children.
下一步就是运行您的单元测试,修正语法错误(即,编写一个类,使它实现您的测试刚定义的接口),并再次运行测试。
The next step is to run your unit tests, fix the syntax errors (that is, implement the class with the interfaces just defined by your test), and run the tests again.
由于您是从一个预定义bean开始的,因此这个实现类用作接口。
Since you started with a predefined bean, you are using the implementation class as the interface.
使用标准MBean会要求定义一个管理接口,接口名称基于每个性能统计的实现类,例如PerfStatsImplMBean。
Using Standard MBeans would require me to define a management interface with a name based on each implementation class of performance statistics, such as PerfStatsImplMBean.
servlet规范定义了侦听器类为处理事件而实现的一些接口。
The servlet specification defines several interfaces that listener classes implement in order to handle events.
清单1的代码包含一个Web服务接口定义和对应的实现类。
The Listing 1 code consists of a Web service interface definition and the corresponding implementation class.
为了避免这种情况,可以在AspectJ中声明其他类型的成员或者父类,包括接口的默认实现,只要所有定义保持二进制兼容即可。
To avoid that, in AspectJ you can declare members and parents of other types, including default implementations for interfaces, as long as any definition preserves binary compatibility.
注意类定义中的implements关键字,其中声明了该类实现Sensor Listener接口。
Note the implements keyword in the class definition where it's declared that this class implements the SensorListener interface.
在创建自己的自定义类时,不仅提供一个toString实现,而且实现Formattable接口通常会有帮助。
When creating your own custom classes, not only should you provide a toString implementation, but implementing the Formattable interface will typically be beneficial.
在这个实现中,IControlsFactoryInterface接口类定义了被具体工厂支持的接口。
In this implementation IControlsFactoryInterface interface defines the interface, supported by specific factory.
定义了服务接口之后,下一步就是在扩展GWT的remoteserviceservlet类的类中实现该接口。
With a service interface defined, the next step is to implement it in a class that extends GWT's RemoteServiceServlet class.
XML文件中定义的所有元素的类都必须创建,并且实现接口XmlElementsInterface 。
The classes for all the elements defined in the XML file must be created and must implement the interface XmlElementsInterface.
定义菜单活动行为的类实现IActionDelegate接口。
The class that defines the behavior of the menu action implements the IActionDelegate interface.
在Groovy示例中,您不需要显式地创建额外的类来实现定义该调用语义的接口。
In the Groovy example, you aren't required to create the extra classes explicitly to implement the interface that defines the call's semantics.
向导还创建了一个存根类(假设WSDL包括SOAP/HTTP 的绑定)EchoSoapBindingStub,这个类实现了在上文中定义的echo接口。
The wizard also produces a stub class called (assuming the WSDL includes a binding for SOAP/HTTP) EchoSoapBindingStub that implements the echo interface defined above.
当一个类含有在一个接口中定义的所有成员的实现时,称这个类实现了一个接口。
A class is said to implement an interface when it contains implementations for all the members defined in an interface.
一旦已经定义了一个接口,你可以生成实现这个接口的类。
Once an interface has been defined, you can create classes that implement the interface.
一旦已经定义了一个接口,你可以生成实现这个接口的类。
Once an interface has been defined, you can create classes that implement the interface.
应用推荐