词典宝
更多
查询
1 词典释义:
constructor
时间: 2025-02-13 05:28:26
英 [kənˈstrʌktə]

"构造函数"

双语例句
  • Provide at least one constructor.

    至少提供一个构造函数。

  • Those are constructor parameters.

    它们是构造函数的参数。

  • Executes the rest of the constructor.

    执行构造函数的剩余部分。

  • Its constructor is shown in Listing 1.

    它的构造函数如清单1所示。

  • Provide a constructor.

    提供构造函数。

  • Do not provide a no-argument constructor.

    不要提供一个无参数的构造函数。

  • It must have a public default constructor.

    必须拥有公有的默认构造函数。

  • Register the attributes in the constructor.

    在构造器中注册属性。

  • You must have a public default constructor.

    您必须具有公共缺省构造器。

  • An example constructor is shown in Listing 1.

    清单1展示了一个示例构造函数。

  • In the constructor you'll initialize them both.

    在构造函数中,您将初始化这两个变量。

  • Many options can be passed to this constructor.

    许多选项可以被传送到这个构造函数。

  • The grammar rules are defined in its constructor.

    语法规则在其构造函数中定义。

  • No constructor exists for creating a record store.

    没有用于创建记录存储的构造函数。

  • Each car constructor has two cars in the race.

    每一个赛车制造商有两辆赛车参加竞赛。

  • They can only be initialized through the constructor.

    它们只通过构造函数初始化。

  • The constructor in the source code is coded this way.

    源代码中的构造方法就采用这种方法。

  • Then set options as arguments to the constructor.

    然后,通过构造函数的参数来设置选项。

  • Use the code in listing 2 for the constructor routine.

    使用清单2的代码实现构造器例程。

  • The second auxiliary constructor accepts just a label.

    第二个辅助构造函数只接受一个标签。

  • Both keywords can be used with constructor parameters.

    这两个关键字都可以被用作构造函数参数。

  • Modeling constructor, destructor, and copy constructor.

    建模构造函数、分析构造函数,以及拷贝构造函数。

  • Its constructor creates the Shared memory and objects in it.

    它的构造函数创建共享内存及其中的对象。

  • The additional constructor deals with the access order option.

    添加的构造函数处理存取顺序选项。

  • Therefore, let's modify the constructor as shown in Listing 6.

    因此,我们要修改清单6所示的构造函数。

  • Do not provide any mutating methods other than the constructor.

    除构造函数之外,不再提供任何的可变方法。

  • Its constructor will create a connection to the LDAP directory.

    其构造函数将会创建一个对LDAP目录的连接。

  • It also creates a constructor that sets this instance variable.

    同时也创建了用于设置这个实例变量的构造函数。

  • Note that the site's constructor accepts a designer host instance.

    请注意,站点的构造函数接受设计器宿主实例。

  • One form of the LocalResourceManager's constructor takes a widget.

    其构造函数的一种形式采用了小部件。

相关推荐