• 它们通过构造函数初始化

    They can only be initialized through the constructor.

    youdao

  • 调用构造函数初始对象默认

    Calls the constructor which initializes the object with default values.

    youdao

  • 假定分配成功通过运行默认构造函数初始化对象

    Assuming that the allocation succeeds, then the object is initialized by running the default constructor.

    youdao

  • 第一使用构造函数初始属性第二个类使用静态工厂方法

    The first class USES a constructor to initialize the properties, and the second class USES a static factory method.

    youdao

  • 适当的方式加载一个收集构造函数初始化没有结束重复项目

    Is there a proper way to load an observable collection with initialization in the constructor without ending up with duplicate items?

    youdao

  • 构造函数处理来自构造函数初始化异常唯一方法是将构造函数编写函数测试

    The only way for a constructor to handle an exception from a constructor initializer is to write the constructor as a function try block.

    youdao

  • 什么方法可以利用隐式拷贝构造函数初始列表吗?有没有其他方式手动编写初始化列表吗?

    Is there any way to make the implicit copy constructor use initialization lists? Is there any other way around manually writing the initialization list?

    youdao

  • 对于含有内置类型复合类型成员,则通常应该定义他们自己的默认构造函数初始化这些成员。

    Classes with members of built-in or compound type should usually define their own default constructors to initialize those members.

    youdao

  • 为了避免这个问题应当构造函数初始化复杂属性然而对于字符串尔值等简单属性则需要这样做。

    To avoid this problem, complex attributes should be initialized in the constructor; however, this is not necessary for simple attributes such as strings, booleans, and so on.

    youdao

  • 初始化这些字段需要逻辑上构造函数很多面向对象语言不同

    No constructor logic is required to initialize these fields, in contrast to most other object-oriented languages.

    youdao

  • 这个检测器寻找构造函数初始化之前读取字段

    This detector finds fields that are read in constructors before they're initialized.

    youdao

  • 作为构造函数参数时,这些可变或者不可变变量一个对象被实例的时候初始化

    When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.

    youdao

  • 构造函数含有两个参数初始化属性配置的记录器(logger)实例

    Its constructor takes two arguments: initialization properties and a pre-configured logger instance. Properties object contains the following.

    youdao

  • 例如可以subtask构造函数初始化这类资源

    For example, you could initialize such resources in the constructor of the SubTask class.

    youdao

  • 一个初始化中,构造函数之前执行

    In an initializer block, which executes just before the constructor.

    youdao

  • 然而现在我们测试过程能够传递一个布尔值false构造函数避免调用init方法所有不必要的初始化逻辑

    However, now we can just pass a Boolean false to the constructor during our tests to avoid calling the init method and all the unneeded initialization logic.

    youdao

  • 这样也许应该整个trait实际上应该这样才能定义一个构造函数初始这个字段

    It might be that the whole trait should actually be a class instead, so you can define a constructor for it that initializes the field.

    youdao

  • 线程1通过运行Singleton对象构造函数引用返回,来完成该对象的初始

    Thread 1 completes the initialization of the Singleton object by running its constructor and returns a reference to it.

    youdao

  • 接下来初始化services_oembed实例,类构造函数被传递两个参数YouTubeURL选项

    Next, an instance of the Services_oEmbed class is initialized, with the class constructor passed two arguments: the YouTube URL and an array of options.

    youdao

  • 添加了一个构造函数,与调用大量setter方法相比这个构造函数可以更加轻松创建完全初始化对象

    I also added a constructor that'll make creating fully initialized objects a lot easier as compared to calling a lot of setter methods.

    youdao

  • 创建了Zend _ Rest_Client对象实例,在初始操作中确定WikipediaAPI服务端点作为构造函数参数

    An instance of a Zend_Rest_Client object is created and initialized with the Wikipedia API service endpoint as constructor argument.

    youdao

  • 如果没有拷贝构造函数正确代码有可能造成list对象某些数据成员没有初始

    If you do not write a correct code for the copy constructor, object within a list will have some data members uninitialized.

    youdao

  • 这个构造函数(清单17定义)允许初始类小部件ajaxcommon . widgets . picker . PickerInputBox内所声明的小部件的属性

    The constructor allows the initialization the widget's properties declared in the superclass widget ajaxcommon.widgets.picker.PickerInputBox that is defined in Listing 17.

    youdao

  • 构造函数(请参考 清单5)中,使用传入 $orientation页面方向)、$unit计量单位 $format(页面大小初始

    In the constructor (see Listing 5), initialize the parent class using the $orientation (page orientation), $unit (measurement unit), and $format (page size) that were passed in.

    youdao

  • 初始化工厂(构造函数中)。

    Initialize your factory (in the constructor).

    youdao

  • 这种重构会改进代码因为我们初始化逻辑对象构造函数分离出来了。

    This refactoring of the class also improves the code so that we have separated the initialization code from the object construction code.

    youdao

  • 这种重构会改进代码因为我们初始化逻辑对象构造函数分离出来了。

    This refactoring of the class also improves the code so that we have separated the initialization code from the object construction code.

    youdao

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

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

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