它接受两个参数:一个函数和一个初始值。
It takes in two parameters, a function, and an initial value.
下一行在初始页面加载时运行init函数。
The following line runs the init function on the initial page load.
在这个应用程序中,我们在初始化函数中打开了数据库。
In this application, we open the database in the initialize function.
每个STDLL必须至少提供一个特定于令牌的初始化函数。
Each STDLL must provide at least a token-specific initialization function.
类型构造函数也称为类型初始值设定项。
因此,当该函数初始化锁,它也可以获得锁。
Therefore, when this function initializes the lock, it also acquires it.
onLoad — 在此函数中放置初始化代码。
onLoad — This function is where you place initialization code.
“构造函数”必须使用this来恰当地初始化对象属性。
The so-called "constructor" must use this to properly initialize the object's properties.
这可能和很多过去你见过的init(初始化)函数类似,仅仅是速度更快一些。
Similar to many init functions you may have seen before... just a lot faster.
这是因为你仅仅在初始化的时候需要这个函数。
This is because you only need that function during initialization.
模型中的参数有常数值、表函数和初始值等。
The parameters in this model are constant value, table function and initial value etc.
构造函数中除了使用简单的值对局部变量进行初始化之外,什么都不应该做。
Constructors should do no more than set the initial local variables to simple values.
这个函数初始化武器0 为缺省的武器。
构造函数通常应确保其每个数据成员都完成了初始化。
Constructors usually should ensure that every data member is initialized.
初始蠕变极限可以表示成稳态蠕变率的函数。
Transient creep limit is a power function of steady state creep strain rate.
我如何使用函数指针初始化类中的对象?
How do I use function Pointers to initialize an object inside a class?
仍然不买构造函数初始化器的帐?
你也能使用该函数去完成初始化,这依赖于打印设备的属性。
You must override this function to enable printing and print preview.
宝石类初始化(构造函数)是私人或公共方法方法?
Ruby class initialize (constructor) is private method or public method?
使用构造函数来初始化具有复杂逻辑的成员。
Use constructors to initialize members that require more sophisticated logic.
构造函数的工作是初始化对象。
为什么初始值设定项按与构造函数相反的顺序运行?
Why Do Initializers Run In The Opposite Order As Constructors?
为什么初始值设定项按与构造函数相反的顺序运行?
Why Do Initializers Run In The Opposite Order As Constructors?
应用推荐