• youdao

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

    As you can see, the class methods are simple.

    youdao

  • 确保只有一行是父类方法调用。

    Make sure that there is only one line that is a super method invocation.

    youdao

  • 相反,类方法不需要您创建一个示例。

    In contrast, class methods do not require you to create an instance.

    youdao

  • 超类方法——在运行时不需要其他实例。

    Superclass methods — no additional instance needed at run time.

    youdao

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

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

    youdao

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

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

    youdao

  • 这是另一个类方法。

    This is another class method.

    youdao

  • 实际上有两类方法。

    There are really two classes of methods represented.

    youdao

  • 调用脚本中的helper超类方法。

    Call the helper superclass method in your script.

    youdao

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

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

    youdao

  • 指定我的类方法的方式(DSL需要使用类方法)。

    A way to specify my class methods, which are required for the DSL.

    youdao

  • 如果使用新的集合类方法,上面的代码就被简化为。

    With the new collection class methods, this has been simplified to.

    youdao

  • 对于实际的时间戳转换,我们使用了下面的类方法。

    For the actual timestamp conversion the following class method was used.

    youdao

  • 这就是类方法为了进行时间戳转换而在内部使用的值。

    That is the value that would be used internally by the class method for the timestamp conversion.

    youdao

  • 第一类方法使用任意的xml片段,如下所示。

    In one class, some of the methods work with arbitrary fragments of XML, as follows.

    youdao

  • 图2中的第二类方法则操纵元素中的属性。

    The second class of method in Figure 2 comprises methods that manipulate attributes within elements.

    youdao

  • 用于类方法并返回函数的用例仅利用您的创造力进行限定。

    The use cases for class methods that return functions is limited only by your creativity.

    youdao

  • 如果__ call失败,就调用父类方法,依此类推。

    If __call fails, the parent class method is invoked, and so on.

    youdao

  • 另外,这个库还提供以不同方式创建类型的对象的类方法。

    In addition the library provides class methods to create objects of their type in different ways.

    youdao

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

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

    youdao

  • 相反,可以在Web服务类方法中使用以下内容作为参数或返回值。

    Conversely, you can use the following as parameters or return values in a Web service class method.

    youdao

  • 类的API目前包含对于继承和超类方法调用的完善支持。

    The class API now includes full support for inheritance and superclass method calls. (See Mislav's tutorial for more info.)

    youdao

  • 一般来讲,可以通过类方法或实例方法的调用来获得对象引用。

    Generally, object references can be obtained by the invocation of a class method or instance method.

    youdao

  • 现在让我们了解一下四个有用的函数,并演示其他str类方法的工具。

    Instead, let's look at four functions that are useful in their own right and demonstrate the utility of the rest of the STR class methods.

    youdao

  • 同样,您几乎总是在子代方法主体的开始或结束部分调用超类方法。

    Likewise, you almost always call a superclass method at either the start or end of a descendent method body.

    youdao

  • Ruby还包括另外一个方便的DSL机制:alias_method类方法。

    Ruby also includes another handy DSL mechanism: the alias_method class method.

    youdao

  • 在本文中,我讨论了延迟静态绑定、名称空间支持、类方法重载和heredoc支持。

    In this article, I looked at late static binding, namespace support, class method overloading, and heredoc support.

    youdao

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

    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.

    youdao

  • 第二行(在Python 2.2及以上版本中)告诉Psyco对类方法执行相同的操作。

    The second line (in Python 2.2 and above) tells Psyco to do the same with class methods. To target Psyco's behavior a bit more precisely, you can use the commands.

    youdao

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

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

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