initializers中文,initializers的意思,initializers翻译及用法

2025-09-07 19:29 浏览次数 6

initializers

英[ɪ'nɪʃlaɪzəz]美[ɪ'nɪʃlaɪzəz]

n. 初始状态设置软件;初始化软件(initializer的复数)

initializers 片语

片语

Object Initializers对象初始化器

Dictionary Initializers字典初始化器

Collect initializers集合初始化器

Index initializers带索引的对象初始化器

Colletion initializers集合初始化器

Array Initializers数组初始化函数

constant initializers处指定了常量初始式

field initializers字段初始程序

default initializers默认构造器

initializers 例句

英汉例句

  • array initializers may also be used inline for calling functions.

    数组初始值设定项也可以在调用函数中内联使用。

  • if you have used zope interfaces, you may have seen examples of class initializers (zope.interface.implements).

    如果使用过zope界面,也许见过类初始化器的例子 (zope.interface.implements)。

  • generally changes to various initializers will not take effect on existing objects

    一般来说,各种初始化程序的变化对现有对象都没有影响

  • static initializers in particular can get very confused if you do that.

    如果您这样做的话,静态初始化软件会非常混乱。

  • verbose class output shows additional information, such as when superclasses are being loaded, and when static initializers are being run. some example output follows

    详细类输出显示额外信息,例如在装入超类的时候,在运行静态初始化器的时候。

  • the class no longer requires a method, because the constants go into static field initializers in the dex file.

    这个类将不会调用方法,因为这些常量直接写入了类文件静态属性初始化中,这个初始化直接由虚拟机来处理。

  • initializers execute before the base class constructor for your type executes, and they are executed in the order the variables are declared in your class.

    初始化器在基类构造函数执行前被执行,它们被执行的顺序就是在类里被声明的顺序。

  • automatic properties, collection initializers and implicit line continuation support with vb 2010

    vb2010中的自动属性,集合初始器,以及隐式续行支持

  • array initializers now support type inference, significantly reducing the amount of code that needs to be typed.

    数值初始值设定项现在可支持类型引用,这样大大减少了代码量。

  • while the above examples are interesting, you probably don「t want to keep using object initializers to define individual persons.

    虽然上面这个例子非常有趣,但是您可能不希望一直使用对象初始化来定义个别某些人。

  • also, steps 6 and 7 are optimized so that constructor initializers cause the compiler to remove duplicate instructions.

    同时,第6步和第7步被进行了优化,那样的话,构造器初始化器会让编译器移除重复的指令。

  • during the initializing phase, any static initializers contained within a class are executed.

    在初始化阶段,类中包含的静态初始化器都被执行。

  • compound literals and designated initializers are a wonderful code maintainability feature. compare these two code fragments

    复合文字和指定的初始化程序是非常好的代码可维护性特性。

  • since they are defined as key-value pairs, they are easy to use with rails initializers or xml configuration files.

    因为它们是定义成键/值对的,所以很容易在rails的初始化器或者xml配置文件里使用。

  • you」ll also discover how database initializers can be used to control the database creation process and insert seed data into the database.

    你也可以学习到数据库初始化器可以用于控制数据库生成过程,添加种子数据到数据库中等。

  • by combining object initializers and type inference, we can create simple data-storage objects without needing to define the corresponding class or struct. listing 5-24 shows an example.

    通过结合对象初始化器和类型接口,我们可以生成一个简单的数据存储对象,而不需要定义相应的类或结构。清单5-24演示了一个例子。

  • instance initializers are executed only if an object is constructed.

    只有当对象创建后,实例的初始化才开始执行。

  • numeric used only character type codes when specifying data types (but initializers in numarray can still accept the old character codes).

    numeric在指定数据类型时只使用字符类型编码 (但是numarray 中的初始化软件仍然接受老的字符编码)。

  • this program also demonstrates how static field initializers execute before the code inside an explicit type constructor.

    此程序还演示了静态字段初始值设定项如何在显式类型构造函数中的代码之前执行。

  • one reason constructor initializers are hard to understand is that it is usually legal to omit the initializer list and assign values to the data members inside the constructor body.

    构造函数初始化列表难以理解的一个原因在于,省略初始化列表在构造函数的函数体内对数据成员赋值是合法的。

  • the class no longer requires a method, because the constants go into static field initializers in the dex file.

    类不再需要方法,因为常量通过静态字段初始化器进入dex文件中。

相关热词