When you have attributes in a class, you need to be able to initialize these attributes with some initial values.
当您在一个类中拥有一定的属性时,您应该能够利用一些初始值来初始化这些属性。
This section goes through the steps to initialize an agent.
本节给出了初始化代理的各个步骤。
First, you need to initialize the counter variable as follows.
首先,需要按如下方式对计数器变量进行初始化。
Scala also requires you to initialize a var when it is declared.
Scala同时也要求你在声明一个var时将其初始化。
The exec command can be used to initialize the variable with a value.
通过使用 exec命令,可以用值来初始化变量。
First we never overwrite a quantum bit except to initialize it to "0".
首先,除了要把量子位初始化为“0”,我们绝不重写它。
In general, different classes have various ways to initialize new instances.
通常,不同的类拥有各种方法来初始化新实例。
After you have created the Preferences page, you need a way to initialize it.
创建Preferences页面后,需要一种方法来初始化这个页面。
Using a procedure to initialize the temporary table yields three key benefits.
使用过程来初始化临时表可带来三个主要优点。
Next, you need to initialize some of the variables that the process USES later.
接下来,您需要初始化该流程后面要使用的一些变量。
Listing 4 shows how to initialize the XMLHttpRequest for cross-browser support.
清单4展示了如何初始化xmlhttprequest来实现跨浏览器支持。
There must be a class to initialize that variable; the code is shown in Listing 8.
必须有一个类来初始化这个变量;代码见清单8。
A table step occasionally needs to initialize the table with some default values.
表步骤有时需要使用一些缺省值初始化表。
Seam USES the factory pattern to initialize non-component objects and collections.
Seam使用工厂模式初始化非组件对象和集合。
In my next column, I plan to write a wizard plug-in to initialize a new XM project.
在我的下一篇专栏文章中,我打算编写向导插件来初始化新的XM项目。
Note that this requires all XUIComponents' constructors to initialize these values.
注意,这要求所有XUIComponent的构造器初始化这些值。
The recommendation from FxCop is to initialize static fields where they are declared.
FxCop建议在声明静态字段的位置对其进行初始化。
In this step, select the Initialization Options to initialize assets from a datastore.
在此步骤中,选择InitializationOptions由数据存储库来初始化资产。
It's up to the installation to initialize the products that you need for development.
由安装过程负责初始化开发需要的产品。
For starters, you need to initialize the project using symfony's command-line utility.
如果您是初学者,则需要使用symfony的命令行实用程序来对项目进行初始化。
Run the following command to format the Hadoop distributed file system to initialize.
运行以下命令对HDFS分布式文件系统进行格式化。
In some cases, it is required to initialize variables before they are used in a process.
在某些情况下,在过程中使用变量之前需要初始化变量。
This file is the configuration file for init and defines how to initialize the system.
这个文件是init的配置文件,定义了如何对系统进行初始化。
Now you need to initialize it, and open the socket for the medical device to connect to.
现在您需要对它进行初始化,并打开socket以让医疗设备连接到它。
Add methods to the mock object that allow you to initialize it properly for your tests.
在模拟对象里添加方法,使得您的测试正确地初始化。
Its task is to initialize the widgets in our sample application. We will define four buttons.
它的任务是初始化样例应用程序中的控件。
If there is no target attribute, then you use a custom callout transform, to initialize values.
如果不存在目标属性,则您将使用自定义调出转换来初始化值。
Failure to initialize the database Shared memory properly results in the following problems.
初始化数据库共享内存失败可能产生如下问题。
Failure to initialize the database Shared memory properly results in the following problems.
初始化数据库共享内存失败可能产生如下问题。
应用推荐