这是另一个类方法。
Parameter values are accessed by calling a super class method.
通过调用父类的方法来访问参数值。
For the actual timestamp conversion the following class method was used.
对于实际的时间戳转换,我们使用了下面的类方法。
I decided to create a class method that would encapsulate the above behavior.
因此我决定创建一个类方法来封装上面的行为。
Ruby also includes another handy DSL mechanism: the alias_method class method.
Ruby还包括另外一个方便的DSL机制:alias_method类方法。
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.
这就是类方法为了进行时间戳转换而在内部使用的值。
This paper mainly introduces the TAN classifier model, its building method and class method.
主要介绍了贝叶斯网络分类器中的TAN分类器的模型、构造方法及分类方法。
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.
一般来讲,可以通过类方法或实例方法的调用来获得对象引用。
If you do not want your method to override the new base class method, the following considerations apply.
如果您不希望自己的方法重写新的基类方法,则需要注意以下事项。
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.
基类的方法可以通过声明与新的类方法具有相同签名的新方法来进行重写。
A method in a derived class overrides a base-class method, and the visibility modifiers of the two methods are different.
派生类中的方法重写基类方法,而且这两种方法的可见性修饰符是不同的。
When running in version-safe mode, one of the version-safe modifiers must be used whenever a base-class method is overridden.
在版本安全模式中执行时,每当基底类别方法被覆写时,都必须使用其中一个版本安全修饰词。
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.
在后面一种情况中,同一时间只会有一个线程可以执行这个类方法,因为对于所有的调用者来说,都只有一个类对象可被使用。
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重构来降低重复度—将行为从较大方法提取到一个抽象类方法中。
It's also convenient to add the class, method, and source line to the bug so the user knows where to go to fix the problem.
在bug中加入类、方法和源代码会提供很大方便,这样用户就知道在什么地方修复这个问题。
Fortunately, whenever ProGuard runs, it outputs a
幸运的是,每当混淆器运行时候,它都会输出到文件
Some concepts such as module, communication between modules, exchanging, class, method, inheritance, message sending and receiving are introduced in and directly supported by the interpreter.
它同时引入了模块化、模块间的通讯、切换、类、方法、继承、消息发送及接收等概念,并提供对这些概念的直接支持。
The methods keyword allows you to select method trace by class, method name, or both.
methods关键字允许按照类、方法名或这两者选择要跟踪的方法。
The methods keyword allows you to select method trace by class, method name, or both.
methods关键字允许按照类、方法名或这两者选择要跟踪的方法。
应用推荐