验证一下在创建数组时,这个构造器是否被调用。
Verify that this constructor is called when arrays are created.
DBSECADM可以像下面这样创建数组安全组件。
The array security component can be created by DBSECADM as follows.
演示两种方式来创建数组对象并将其赋给一个数组变量。
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.
对于数组中的每个项目,创建一个包含所有相关信息的表格行。
For each item in the array, create a table row that contains all the relevant information.
当用户输入新车辆数据时,您将在数组对象中创建一个新元素。
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.
通过设置项目属性的最小值和最大值来创建业务项目的定购序列(数组)。
Create an ordered sequence (array) of business items by setting the minimum and maximum values for the item attributes.
只需创建一个函数数组或测试装置、然后对之进行注册,加载后,DOH就会执行它们。
You create an array of functions or test fixtures, register them, and the DOH will execute them when loaded.
所以,解决的方法很简单:为数组创建一个“包装”,正如清单3所示。
So the solution is simple: create a wrapper for the array, as shown in Listing 3.
您可以使用字符串、数字、值、数组和其他对象创建复杂对象。
You can create complex objects using strings, Numbers, values, arrays, and other objects.
有了所找到的标记的数组后,创建一张表,表中每一行都有单一一个图像标记,该标记使用源中的文件名。
After you have the array of the found tags, you create a table in which each row has a single image tag that USES the file name in the source.
然后遍历武器清单数组并创建新输入字段以保存装备。
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.
首先,让我们创建两个简单数组—一个用于名字,一个用于姓氏。
Starting off, let's make two simple arrays - one with first names, one with last names.
正如我们接下来看到的代码那样,花括号中的数组值就需要对数组进行是否创建和类型的推断。
As you can see below, the presence of the array contents in brackets is enough to both infer that an array is being created and what type that would be.
随后遍历该数组,为数组中的各项创建一个DIV元素。
The array is then iterated through, and a DIV element is created for each item in the array.
清单8显示创建一个数组然后向其中添加3个元素的示例。
Listing 8 shows an example of creating an array and then adding three elements to it.
这些输入名称可能看上去有些怪异,但是通过以这种样式构造名称,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.
OMGIDL开发者面临的挑战是创建一组数组类型,它可以轻易地被映射到实现语言中。
The challenge for the OMG IDL developers was to create a set of array types that would easily map to the language implementations.
应用推荐