• 这表明这个方法是一个实例方法。

    This denotes that the method is an instance method.

    youdao

  • 事件对象现在扩展了一组实例方法。

    Event objects are now extended with a collection of instance methods.

    youdao

  • 根据其定义,实例方法涉及对象状态。

    Instance methods, almost by definition, involve object state.

    youdao

  • 我们能够利用实例方法作为可重用组件。

    We are able to leverage instance methods as reusable components.

    youdao

  • 这些模块方法会变成包含它们的类的实例方法。

    Those module methods then become instance methods of the including class.

    youdao

  • 该类处理模块属性并引入不同的类和实例方法。

    This class handles the attributes for the module and introduces the various class and instance methods.

    youdao

  • 在服务类中实现作为公共实例方法的API方法。

    Implement the API methods in the service class as public instance methods.

    youdao

  • 在控制器类中实现作为公共实例方法的API方法。

    Implement the API methods in the controller class as public instance methods.

    youdao

  • API方法实现是作为公共实例方法定义在控制器类中的。

    The API method implementations are defined in the controller class as public instance methods.

    youdao

  • 此外,枚举类型支持拥有构造函数、实例方法和变量,等等。

    In addition, enumerated types support having constructors, instance methods, and variables, among other things.

    youdao

  • 那个方法既可以是静态方法,也可以是实例方法。

    That method can be either a static method or an instance method.

    youdao

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

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

    youdao

  • 因此在编写一个全新的扩展函数时,实例方法并非首选。

    Thus they're rarely the first choice when writing a new extension function.

    youdao

  • 然后,Factory类中的静态方法会调用您工厂实例的实例方法。

    The static methods in the Factory class will then call the instance methods of your factory instance.

    youdao

  • Log对象可以要求其自己的、由init()实例方法执行的初始化。

    The Log object could require its own initialization, to be performed by an init() instance method.

    youdao

  • 因此,这些断言方法现在都是TestCase上的实例方法,如清单17 所示。

    Therefore, all those assert methods are now instance methods on TestCase, as you can see back in Listing 17.

    youdao

  • 一个实例方法的执行在类的一个特定示例中有效;您在调用该类的方法之前必须创建一个类的实例。

    Execution of an instance method is scoped to a particular instance of the class; you must create an instance of the class before you can invoke the method of the class.

    youdao

  • 如果该类具有一个无参构造函数,您想使用这个构造函数,然后立即在其上调用一个实例方法,那么有一种捷径。

    If the class has a no-args constructor, and you want to use that constructor and then immediately invoke a single instance method on it, there's a shortcut.

    youdao

  • 通过直接调度方法,可以把API定义类与控制器类绑定在一起,并且在控制器类中实现作为公共实例方法的API方法。

    With the direct dispatching approach, the API definition class is attached to the controller class, and the API methods are implemented in the controller class as public instance methods.

    youdao

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

    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.

    youdao

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

    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.

    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

  • 这样,您不必手动定位调用方法的每个实例并进行更改,这将为您节省大量时间并避免潜在错误。

    This way, you don't have to manually locate every instance in which a method is called and change it, which saves you a lot of time and prevents potential errors.

    youdao

  • 第一个也是最重要的新特性是针对类的方法和实例变量的访问保护 ——public、protected 和 private关键字。

    The first and most important addition was access protection for methods and instance variables on classes -- the public, protected, and private keywords.

    youdao

  • 测量实例3:方法覆盖模块视图。

    Measurement example 3: Method coverage module view.

    youdao

  • 通过创建一个新的Appointment实例开始方法链接。

    Starts the method chain by creating a new Appointment instance.

    youdao

  • SignatureVisitor接口中返回 SignatureVisitor实例的方法均有此作用。

    The methods in the SignatureVisitor interface that return a SignatureVisitor instance all have this effect.

    youdao

  • 动作方法把实例变量拷贝到视图。

    The action method copies any instance variables to the view.

    youdao

  • 清单3显示使用字段反射方法的一个实例,以方法的格式根据名称增加对象的int字段。

    Listing 3 shows an example of using the field reflection methods, in the form of a method to increment an int field of an object by name.

    youdao

  • 启动流程实例的方法需要输入ClientObject Wrapper,它包装包含真正的输入数据的WSIFMessage。

    The method to initiate a process instance expects as input ClientObjectWrapper, which wraps a WSIFMessage that contains the real input data.

    youdao

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

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

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