A jagged array is an array whose elements are arrays.
交错数组是元素为数组的数组。
The following code example initializes the array elements to default values (except for jagged arrays).
下列范例会指派值给特定的阵列元素。
The following is a declaration and initialization of a single-dimensional jagged array that contains three two-dimensional array elements of different sizes.
以下是一维不规则阵列的宣告和初始化,其中包含三个大小不同的二维阵列元素。
Once the stereotype is applied, you can specify the value for the rank_specification stereotype property, which denotes whether an array is 1-dimensional, multi-dimensional or jagged array.
一旦应用了该模板,您就可以确定 rank_specification 原型属性的值,这将决定建立的数组是单维的,还是多维的,或者是多重数组。
Once the stereotype is applied, you can specify the value for the rank_specification stereotype property, which denotes whether an array is 1-dimensional, multi-dimensional or jagged array.
一旦应用了该模板,您就可以确定 rank_specification 原型属性的值,这将决定建立的数组是单维的,还是多维的,或者是多重数组。
应用推荐