• 如果需要访问对象字段方法设置为静态调用加速15%20%。

    If you don't need to access an object's fields, make your method static. Invocations will be about 15%-20% faster.

    youdao

  • 可以调用静态方法一样访问对象方法

    You can access methods on singleton objects similar to how you would call static methods.

    youdao

  • 如果方法不是静态的,那么生成将this对象引用装载堆栈中的代码同时设置方法调用类型virtual(而不是static)。

    If the method is not static, I generate code to load the this object reference to the stack, and also set the method call type to virtual (rather than static).

    youdao

  • 其他两个构造方法只是调用静态方法IndexReader . open文件路径Directory对象转换成一个IndexReader

    The other two constructors just turn your file path or Directory object into an IndexReader by calling the static method IndexReader.open .

    youdao

  • LaunchApp使用Assembly .LoadFrom静态方法创建Assembly对象实例不是通过显式构造函数创建

    LaunchApp creates an instance of an Assembly object using the Assembly.LoadFrom static method rather than by using an explicit constructor call.

    youdao

  • 方法调度通过对象作为参数调用一个名为“ClassOf”的静态方法予以实现。

    Method dispatch starts by calling a static "ClassOf" method with the object as argument.

    youdao

  • 部分可选的,因为静态方法调用需要对象引用

    part is optional because static methods are invoked without the need for an object reference. Again, it's easiest to see this illustrated by example, in Listing 11

    youdao

  • 方法静态的,返回调用方可更改对象

    The method is static but returns an object that can be changed by the caller.

    youdao

  • 方法静态的,返回调用方可更改对象

    The method is static but returns an object that can be changed by the caller.

    youdao

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

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

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