setUp方法实例化mock对象并将它注入到方面中。
The setUp method instantiates the mock object and injects it into the aspect.
最后给出了实时数据库及相关数据模型的实现方法实例。
Practical examples of implementing methods for real time database and relevant data models are given.
此方法实例化一个枚举数,该枚举数采用集合当前状态的快照。
This method instantiates an enumerator that takes a snapshot of the current state of the collection.
这个方法实例化一个名为noOptions 的 5 字节数组,它初始化为五个零。
This method instantiates a 5-byte array named noOptions initialized to five zeros.
针对基于实例推理的设计方法实例修改自动化程度较低的情况,对夹具实例自动化修改中的变型设计过程进行了研究。
Aiming at the low level of automation of case retrieval in case-based design, the variant design used in case-based fixture design was studied in detail.
给出了PC并行口与常用I2C器件AT24C02的接口方法实例,介绍了用PC并行口模拟I2C总线控制时序的实现方法。
To provide examples about the interface of common I2C and AT24C02. And then to introduce the methods of simulating controlled I2C Bus interface with PC parallel socket.
API方法实现是作为公共实例方法定义在控制器类中的。
The API method implementations are defined in the controller class as public instance methods.
统计视图:显示包,方法,类和实例的基本配置统计。
Statistical views: Display basic profiling statistics for packages, methods, classes, and instances.
此外,枚举类型支持拥有构造函数、实例方法和变量,等等。
In addition, enumerated types support having constructors, instance methods, and variables, among other things.
以下的代码例子展示如何用这种方法创建CBE实例。
The following code sample shows how to create a CBE instance using this method.
包括了引导你完成产生3d图形和动画的基本方法的实例。
Examples lead you through the basic methods for producing 3d images and animation.
清单21展示了如何通过创建该方法将这个实例公布到jaxb上下文。
Listing 21 shows how to make this instance known to the JAXB context by creating the methods.
通过使用该规范定义的一些方法,资源实例的任何客户端都可以在一段特定的时间内建立和重新开始它们与资源实例的关系。
This specification defines the means by which any client of a resource instance can establish and renew its interest in the resource instance for a specific period of time.
这些模块方法会变成包含它们的类的实例方法。
Those module methods then become instance methods of the including class.
一般来讲,可以通过类方法或实例方法的调用来获得对象引用。
Generally, object references can be obtained by the invocation of a class method or instance method.
查找XML大纲的一种方法就是往回搜索实例和工作。
One way to find XML schemata is to search for the instances and work backwards.
该类处理模块属性并引入不同的类和实例方法。
This class handles the attributes for the module and introduces the various class and instance methods.
在控制器类中实现作为公共实例方法的API方法。
Implement the API methods in the controller class as public instance methods.
在服务类中实现作为公共实例方法的API方法。
Implement the API methods in the service class as public instance methods.
回顾一下插件制作者需要的三个条件:放置实现的位置,公开DSL(类方法)的方法以及为状态机公开实例方法的方法。
Recall that a plug-in author needs three things: a place to put the implementation, a way to expose the DSL (the class methods), and a way to expose the instance methods for the state machine.
一个实例方法的执行在类的一个特定示例中有效;您在调用该类的方法之前必须创建一个类的实例。
Execution of an instance method is scoped to a particular instance of the class; you must create an instance of the class before you can invoke the method of the class.
在清单9中,我已经添加了两个方法到Race实例。
测量实例3:方法覆盖模块视图。
这个init方法为Servlet实例初始化了一套参数。
The init method initializes a set of parameters for the servlet instance.
removeInstance(...)方法允许组件实例执行定制的清空操作。
This method allows a component instance to perform custom cleanup actions.
实际上,super会在这个trait混入一个定义了具体click方法的实例的时候被绑定。
In fact, super will be bound when this trait is mixed into an instance that defines a concrete click method, such as Button.
IftVerificationPoint界面包含了performTest 和compare方法的实例,这一点将会被考虑。
The IftVerificationPoint interface contains instances of the performTest and compare methods, which take this into account.
线程1退出synchronized块并从getInstance()方法返回实例。
Thread 1 exits the synchronized block and returns instance from the getInstance() method.
要创建Factory方法模式的实例,执行同Singleton模式相同的步骤。
To create an instance of the Factory Method Pattern, perform the same steps as for the Singleton Pattern.
该宿主接口声明任何创建bean新实例的方法以及所有用来检索bean实例的方法(finder方法)的方法签名。
The home interface declares method signatures for any method that creates new instances of the bean, and for all methods that are used to retrieve instances of the bean (finder methods).
应用推荐