The data in the array literal must be convertible to the data type of the typed array.
数组标识符中的数据必须可转换为类型化数组的数据类型。
If a rule has additional options, you can specify them using array literal syntax, such as.
如果一个规则有额外的选项,你可以使用数组字面量指定它们,比如。
Illustrates how to compose array literal values and how to combine data types in the same array.
说明撰写阵列常值的方式,以及在同一阵列中结合资料型别的方式。
First, the array literal is converted to a typed array, which is used to initialize the typed array.
首先,将数组标识符转换为类型化数组,后者用于初始化类型化数组。
If you do not specify a type of the array elements, the type is inferred from the values in the array literal.
如果您没有指定阵列元素的型别,则会从阵列常值中的值推断其型别。
Notice that you do not have to specify the index upper bound if you supply element values in an array literal.
请注意,如果您以阵列常值提供元素值,则不必指定索引上限。
If no upper bound is specified, the size of the array is inferred based on the number of values in the array literal.
如果没有指定索引上限,则会依据阵列常值中值的数目推断阵列大小。
An array literal cannot initialize a multidimensional typed array, but an array literal can initialize a typed array of typed arrays.
数组标识符不能初始化多维类型化数组,但可以初始化类型化数组的类型化数组。
Listing 2 shows an array constructor with four elements with values given by the NULL constant, a variable, a literal and a scalar sub-query, respectively.
清单2显示具有4个元素的阵列构造函数,其值分别由NULL常数、变量、文字和标量子查询提供。
Indeed, the literal representation of an object is simply an associative array that may contain functions for some of its values.
实际上,对象的文本表示只不过是一个联合数组,它可能包含某些函数作为一些值。
The associative array is another data type that can be represented as a literal.
联合数组(associative array)是另外一种数据类型,它可以表示为一个字符串。
The method body calls the map method on the strings array, which takes a function literal as an argument.
函数的主体调用了strings数组的map方法,它接受一个字面函数(Function Literal)作为参数。
This is a literal representation of an associative array in Rhino but it is, more generally, the literal representation of an object.
在Rhino 中,这是一个联合数组的文本表示,不过更确切的说,它是一个对象的文本表示。
Literal values and local variables can be accessed very quickly, whereas array items and object members take longer.
直接量和局部变量访问速度非常快,数组项和对象成员需要更长时间。
It was pointed out that there was no way in a literal schema definition to determine that something was a serialized array.
它指出了在文字模式定义中无法确定什么是序列化数组。
There are four places to access data from: literal values, variables, array items, and object members.
有四种数据访问类型:直接量,变量,数组项,对象成员。
Invalid literal data format. Literal data must be specified either as an array, or a tab-delimited string.
无效的原意数据格式。原意数据必须指定为数组或制表符分隔的字符串。
Invalid literal data format. Literal data must be specified either as an array, or a tab-delimited string.
无效的原意数据格式。原意数据必须指定为数组或制表符分隔的字符串。
应用推荐