当您在一个类中拥有一定的属性时,您应该能够利用一些初始值来初始化这些属性。
When you have attributes in a class, you need to be able to initialize these attributes with some initial values.
它接受两个参数:一个函数和一个初始值。
It takes in two parameters, a function, and an initial value.
接着会出现一个区域以指定引用的初始值。
A field is provided to specify the initial value of the reference.
反馈消息的初始值是一个空白字符串。
The original value of the feedback message is a blank string.
它还将初始值设置为调用中指定的值。
It also sets the initial count to the values specified in the call.
例如,以下代码指定数组中几个子范围的初始值。
For example, the following code specifies initial values for sub-ranges of an array.
这是一个关于实例初始值设定项的示例。
类型构造函数也称为类型初始值设定项。
设置的初始值和指针因算法不同而不同。
What you set the initial scores and Pointers to differs from algorithm to algorithm, which is why the DynamicProgramming class, as shown in Listing 4, defines two abstract methods!
所以value拥有自己的初始值,在本例中为0。
类型在两种情况下会获取类型初始值设定项。
value(信号量计数器)是这个信号量的初始值。
Value (semaphore count) is the initial value of the semaphore.
使用这个命令创建AIX用户并设置初始值。
You use this command to create the AIX user and set its initial values. There are a few simple rules to remember when creating a user.
等号和表达式给出的初始值在变量声明时实际上是可选的。
The equal sign and the expression giving the initial value are in fact optional in a variable declaration.
将如图3所示的初始值编辑为适应您的需求的值。
Edit the initial values as shown in Figure 3, to those that suit your requirements.
给它一个初始值。
数组初始值设定项也可以在调用函数中内联使用。
Array initializers may also be used inline for calling functions.
然而,通常情况下要通过从表中提取值来获得阵列的初始值。
It is often the case, however, that the initial value for an array is obtained by extracting values from a table.
利用atom函数,可获得作为初始值包装的atom对象。
By using the atom function, you get an atom object that is a wrapper around the initial value.
初始状态:在Win32中,信号可能会有初始值。
Initial state: in Win32, the semaphore might have an initial value.
如果没有指定value子句,则表示没有定义该项的初始值。
If a value clause is not specified, the initial value of the item is undefined.
通常,这些控件允许您提供最小值、最大值和初始值。
In general, these controls allow you to supply a minimum, maximum, and initial value.
current参数的初始值是数组内的第一个元素。
The current parameter starts off as the first element in the array.
该业务对象的初始值是在流程开始时定义的,如清单4 所示。
The initial value of this business object is defined when the process starts, as shown in the Listing 4.
对于其他特定环境和系统,很可能需要优化这些初始值。
It is highly likely that these values will need to optimized for each particular environment and system.
表单数据模型(数据提交时的行为、初始值等)和表示分离开来。
A form's data model (how it behaves when data is submitted, initial values, and more) is separated from its presentation.
它们分别指定迭代索引的初始值以及迭代索引的终止值。
They specify the initial value of the index for the iteration and the index value at which iteration should cease, respectively.
TopologyHelper能够帮助在数据模型中设置初始值。
The TopologyHelper class is provided to help set up initial values in your data model.
再次利用agent函数包装droid和history的初始值。
Once again you start off by wrapping the initial values of droid and history by using the agent function.
每个属性将有getter和setter与之关联,还有一些初始值。
Each property will have a getter and setter associated with it, along with some initial value.
应用推荐