• As you can see, the class methods are simple.

    正如您所见,类方法非常简单。

    youdao

  • First-class methods and functions (closures)

    一流的方法和函数(闭包)

    youdao

  • Now it's time to add the class methods that form the DSL.

    现在让我们添加形成DSL的类方法。

    youdao

  • Listing 4 illustrates using PHP overloading to invoke object and class methods.

    清单4展示如何使用php重载调用对象和类方法。

    youdao

  • The same concept can be used with functions, or even class methods, as shown below.

    这也适用于函数,甚至是类方法,如下所示。

    youdao

  • It also hides all base class methods with the same signature.

    同时也隐藏具有相同签名的所有基类方法。

    youdao

  • On the other hand, you may want to override certain base-class methods.

    另一方面,您也可能想重写某些基类方法。

    youdao

  • By default, the C++ compiler uses the __thiscall calling convention for class methods.

    根据预设,C++编译器使用__thiscall作为类成员函数的调用协定。

    youdao

  • This would imply that stored procedures are not similar to class methods since they are not part of tables.

    这意味着存储过程不同于类方法,因为它们不是表的一部分。

    youdao

  • You need the contents of these text fields and the Formatter class methods to format them, as Listing 2 shows.

    您需要这些文本字段的内容和对其进行格式化的Formatter类方法,如 清单 2所示。

    youdao

  • With JSFUnit API, the test class methods can submit data on a form and verify that managed beans are properly updated.

    有了JSFUnitAPI,测试类方法可以提交表单数据,并且验证管理的bean是否被正确更新。

    youdao

  • Inheritance enables classes to build on existing classes and override selected base-class methods and properties.

    继承能使类建立在现有类的基础上,并重写选定的基类方法和属性。

    youdao

  • I set up the compiler so I have to specify the override annotation so as to clarify which methods are overriding base class methods.

    我对编译器进行了设置,所以我必须指定override注释,以便指明哪些方法要覆盖基类的方法。

    youdao

  • You can take a similar approach to synchronize the class methods of the associated class, using the class object instead of self.

    与此类似,你可以使用类对象为相关类的类方法进行同步保护。

    youdao

  • Here I subclass ExprEditor in my own VerboseEditor, overriding three of the base class methods — all named edit , but with different parameter types.

    这里我在自己的VerboseEditor中派生了ExprEditor子类,重写了三个基本的类方法——它们的名字都是edit,但是有不同的参数类型。

    youdao

  • Since class methods may be overloaded, methods that differ just slightly in their behavior are given identical names and differ only by their prototypes.

    因为类方法可能被重载,同名的方法的参数不同可能作用也有些不同。

    youdao

  • You can examine the class methods included in the code download for this article to find out more about how each result object value is computed (see Resources).

    您可以研究本文的代码下载中包含的类方法,以了解关于如何计算每个结果对象值的更多信息(请参阅参考资料)。

    youdao

  • Although identically named class methods and instance methods are represented by the same selector, they can have different parameter types and return types.

    尽管同名的类方法和实例方法拥有相同的选择器,但它们可以有不同的参数类型和返回值类型。

    youdao

  • Instead, you can pass in the GuiTestObject to the constructor once, and then use the methods to set and get the text as instance methods instead of class methods.

    可以将GuiTestObject只传递到构造函数中一次,然后将设置和获取文本的方法用作实例方法,而不是用作类方法。

    youdao

  • It is followed by the implementation of the new contract module in detail, including the class diagram and class methods which are derived from the requirement.

    随后对新契约模块的实现做了详细的介绍,陈述了从需求推导而来的类结构图以及类的方法。

    youdao

  • Determining the CC of class methods in a code base and continually monitoring these values will give your team a head start on addressing complexity issues as they arise.

    确定代码库中类方法的CC并连续监视这些值将使您的团队在复杂问题出现时抢先处理它们。

    youdao

  • If a script invokes the functions or class methods of other Jython modules, use the execfile function to load a Jython script from another Jython script file. Listing 3 shows an example.

    如果某个脚本调用其他Jython模块的函数或类方法,则使用execfile函数加载来自其他jython脚本文件的jython脚本。

    youdao

  • 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.

    回顾一下插件制作者需要的三个条件:放置实现的位置,公开DSL(类方法)的方法以及为状态机公开实例方法的方法。

    youdao

  • These are not as common as instance methods, but you will often see class methods that are factory methods for creating new instances of the class; this saves you from having to alloc and initialize.

    它们不像实例方法那样常见,但您将会经常看到一些类方法,它们作为创建新的类实例的工厂方法;这免得您必须进行分配和初始化。

    youdao

  • Listing 2 and Listing 3 show a simple PHP application with a class, methods, and some wrapper code.

    清单2和清单3是一个简单的PHP应用程序,其中包含一个类、方法和一些包装器代码。

    youdao

  • Listing 2 and Listing 3 show a simple PHP application with a class, methods, and some wrapper code.

    清单2和清单3是一个简单的PHP应用程序,其中包含一个类、方法和一些包装器代码。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定