Parameter values are accessed by calling a super class method.
通过调用父类的方法来访问参数值。
For the actual timestamp conversion the following class method was used.
对于实际的时间戳转换,我们使用了下面的类方法。
I'm going to make a class method that enables User objects to find themselves by name.
我打算制造一个类名,让User对象根据名称查找其自己。
In some situations, you may need to ensure that a base class method is not overridden.
在某些条件下,可能需要确保不重写某种基类方法。
That is the value that would be used internally by the class method for the timestamp conversion.
这就是类方法为了进行时间戳转换而在内部使用的值。
Putting the class name as a prefix to the method name indicates that the method is a class method.
将类名作为方法名的前缀来指示该方法是类的方法。
Conversely, you can use the following as parameters or return values in a Web service class method.
相反,可以在Web服务类方法中使用以下内容作为参数或返回值。
Generally, object references can be obtained by the invocation of a class method or instance method.
一般来讲,可以通过类方法或实例方法的调用来获得对象引用。
means extend is a class method, meaning one method operates on the whole class, like the new method.
意味着extend是一个类方法,即在整个类上操作的方法,比如new 方法。
Being able to connect with class method testing properly, it avoids the design of extra testing cases.
由于能与类方法测试有机的结合,该方法不用专门地去另外设计测试用例。
An extension method with the same name and signature as an interface or class method will never be called.
一个扩展方法具有相同的名称和签名作为一个接口或类的方法不会被调用。
Change the visibility modifier of the derived-class method to match the visibility of the base class method.
对派生类方法的可见性修饰符进行修改,使其与基类方法的可见性相匹配。
In this article, I looked at late static binding, namespace support, class method overloading, and heredoc support.
在本文中,我讨论了延迟静态绑定、名称空间支持、类方法重载和heredoc支持。
If a class method is called for a derived class, the derived class object is passed as the implied first argument.
如一个类方法被派生类调用,派生类对象将被隐含的做为第一个参数传递。
Methods of the base class can be overridden by declaring a new method with the same signature as the new class method.
基类的方法可以通过声明与新的类方法具有相同签名的新方法来进行重写。
An explicit contract is any contract you declare in a class method, such as a precondition, a postcondition or an invariant.
显式的合同是在类方法中,如前提条件后,置条件或不变声明任何合同。
If the method is defined only in base class then it will invoke base class method irrespective to the object you are passing.
如果方法是定义在基类然后它会调用基类方法不论你是对象传递。
In this case, I'll make it a class method (static) and I'll allow Races to be found by name (that is, I'll search based on the name property).
在本例中,我将把这个“查找程序”方法创建为一个类方法(static)并且允许通过名称查找这些Race(即基于name属性搜索)。
For example, to publish a status message, you make a call to the core Facebook class method dialog passing the action stream.publish (see Listing 10).
例如,要发布一个状态消息,需要调用核心Facebook类方法dialog,传递操作stream . publish(参见清单10)。
This paper presents a new method, developed during the development of the large container inspection system, named test-class method baaed on interface object.
结合大型集装箱检查系统大型软件的实际集成测试,提出了一种基于接口对象的测试类方法。
In the latter case, of course, only one thread at a time is allowed to execute a class method because there is only one class object that is Shared by all callers.
在后面一种情况中,同一时间只会有一个线程可以执行这个类方法,因为对于所有的调用者来说,都只有一个类对象可被使用。
According to the class state diagram, taking class-valves as the main object of observation, class tests are carried out simultaneously combining with the class method testing.
该方法以类状态图为依据,以类阀为主要观察对象,结合类方法测试去同步地实施类测试。
In Listing 6, I take the duplicated code in Listing 4 and reduce the duplication by using the Pull up method refactoring - extracting behavior from a larger method into an abstract class method.
在清单6中,我用了清单4中的重复代码,使用了PullUpMethod重构来降低重复度—将行为从较大方法提取到一个抽象类方法中。
To add further tests, simply create new test methods in class method USES RTTI (RunTime Type Information) to find them and call them automatically, provided the methods meet these two conditions.
若要加入更多的测试,只需简单地在ttestcasefirst里加入新的测试方法,TTestCase . Suite类别方法会透过RTTI (RunTimeTypeInformation,执行时期型态信息)自动地寻找并且呼叫它们,这些测试方法必须符合两个条件。
At the core of Lancom is a world-class effective method that enhances language leaning with advanced technology.
Lancom 的核心是世界一流的高效学习方法,其旨在通过先进科技来提高语言学习。
Class and method bodies are not enclosed in delimiters but are instead indicated by indention of their bodies.
类和方法正文没有包围在定界符中,而是由缩进的正文来体现。
To clarify this, consider the following class and method in Listing 16.
为澄清这一点,考虑清单16中列出的类和方法。
We were on a project where the client insisted on Javadoc comments for every public class and method.
我们曾经做一个项目:客户坚持要为每一个公用类和方法写注释。
With PHP V5, however, you can build object type checking right into the class or method declaration.
但是,如果使用PHPV5 的话,可以将对象类型检查构建到类或方法声明中。
For example, in the resource class, uncomment the method in Listing 23.
例如,在资源类中,取消清单23中的方法的注释。
应用推荐