添加代码以创建数组并向数组中添加值。
Then you add code to create an array and add the values to it.
验证一下在创建数组时,这个构造器是否被调用。
Verify that this constructor is called when arrays are created.
如果要创建数组,请确保其大小正确。
If you are creating an array, make sure the size is correct.
从堆栈中弹出元素的数目并创建数组。
The number of elements is popped from the stack and the array is created.
DBSECADM可以像下面这样创建数组安全组件。
The array security component can be created by DBSECADM as follows.
假设我为样本创建数组。
更改元素数量的唯一方法是重新创建数组。
The only way to change the number of elements is to recreate the array.
只需要提供一个使用逗号分隔项的列表就可以创建数组。
To create an array, just provide a list of comma-separated items.
演示两种方式来创建数组对象并将其赋给一个数组变量。
Shows two ways to create an array object and assign it to an array variable.
按照此准则,在调用带有少量参数的成员时可以避免创建数组。
By following this guideline, you can avoid creating arrays when a member is called with a small number of arguments.
相反,应该在其他地方创建数组,这个任务可以使用数组的引用。
Instead, the array should be created elsewhere, and its reference be made available to the task.
使用一个惯用的Ruby并创建数组集,每个数组都有船只名称及其ID。
We use some idiomatic Ruby and create a collection of arrays, where each array has the name of a boat and its id.
创建数组函数的输入端会自动匹配元素或数组输入,取决你要连接的对象。
The Build array function input will automatically adapt to an element or an array input, depending on what you wire to it.
假设一次基准测试希望度量出访问某个数组元素所用的时间:这个任务应该不用创建数组。
Consider a benchmark that aims to determine the time it takes to access an array element: the task should not create the array.
创建数组函数可以将两个数组连接或结合成一个,或向数组中增加元素,这取决于你自己的设定。
Depending on how you configure it, Build array concatenates, or combines, two arrays into one, or adds extra elements to an array.
例如,图7.23中的创建数组函数被设定用来结合两个数组和一个单个元素产生一个新的数组。
For example, the Build array function shown in figure 7.23 has been configured to concatenate two arrays and one element into a new array.
我在应用程序中看到的一个问题是,工程师试图将数据库当作编程语言来使用,即通过使用具有逗号分隔的标识符的文本字符串来创建数组。
One problem I've seen with applications is when engineers attempt to use a database as though it were a programming language, creating arrays by using text strings with comma-separated identifiers.
清单8演示了这个过程,它遍历提要中的各项并为每一项创建一个数组。
Listing 8 does just this, iterating over the items in the feed and creating an array for each.
当用户输入新车辆数据时,您将在数组对象中创建一个新元素。
When the user enters new vehicle data, you create a new element in the array object.
替换:将每个元素替换为由它派生的另一个元素,创建新的并行数组。
Replacement: Creating a new parallel array by replacing each element with another derived from it.
接下来将创建一个空数组。
所以,解决的方法很简单:为数组创建一个“包装”,正如清单3所示。
So the solution is simple: create a wrapper for the array, as shown in Listing 3.
为此,需要创建一个数组来保存关于武器的信息。
To do this, you'll create an array to hold information about the weapons.
您可以使用字符串、数字、值、数组和其他对象创建复杂对象。
You can create complex objects using strings, Numbers, values, arrays, and other objects.
然后遍历武器清单数组并创建新输入字段以保存装备。
Then we walk the inventory array and create new input fields to hold the items.
在本教程中,您将学习如何创建一个使用数组对象的球轴承。
In this tutorial, you will learn how to create a ball bearing using an Array Object.
该类中的方法使您能够创建新数组,获得数组对象的长度,读和写数组对象的索引值。
The methods in this class let you create new arrays, get the length of an array object, and read and write indexed values of an array object.
您应该始终使用集合而不是数组来创建不可变列表,尽管防御性的数组复制也是可行的,但这会带来一些不希望见到的副作用。
You should always use collections to create immutable lists rather than arrays. Although it is possible to copy arrays defensively, it leads to some undesirable side-effects.
使用字段名blog,然后创建一个数组对象。
这些输入名称可能看上去有些怪异,但是通过以这种样式构造名称,PHP将自动创建“inventory”数组,并且填充了名称-值对。
Those input names may look weird, but by structuring them in this fashion, PHP will create the "inventory" array automatically, complete with name-value pairs.
应用推荐