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.
该类中的方法使您能够创建新数组,获得数组对象的长度,读和写数组对象的索引值。
When the user enters new vehicle data, you create a new element in the array object.
当用户输入新车辆数据时,您将在数组对象中创建一个新元素。
This screen also has a section where you can create new device array or use one from the existing list.
此屏幕还有一个区域,可以创建新设备阵列或使用现有列表中的设备阵列。
Then we walk the inventory array and create new input fields to hold the items.
然后遍历武器清单数组并创建新输入字段以保存装备。
It USES reflection to create a new array of the same type, then copies all the data across from the old array before returning the new array.
它使用反射来创建相同类型的新数组,然后在返回新数组之前,在老数组中复制所有数据。
You could also create a copy of floor using floor=subtract(floor,4), but this is probably not what you want, since the change will be in a new array, not a subsection of room.
您还可以用floor=subtract(floor,4)来创建 floor的一个拷贝,但这可能不是您所期望的,因为变化将发生在一个新的数组中,而不是room 的一个子集中。
This feature goes hand-in-hand with a new syntax for object creation, which makes it easy to create non-custom classes in Groovy with an array-like syntax.
这个特性与新的对象创建语法关系密切,新的语法可以用类似数组的语法很容易地在Groovy 中创建 非定制类。
Let's create a new array with the new hero appended and assign that to heroes.
让我们创建一个新数组,把这个英雄追加进去,并把它赋给heroes。
By integrating with surrounding building layout and the simple array, designers create a bright and new Southeast Asia style landscape space.
设计结合周边围合的建筑布局以及简洁的行式排列,营造出简洁、明快、具有东南亚特色的新式景观空间。
By integrating with surrounding building layout and the simple array, designers create a bright and new Southeast Asia style landscape space.
设计结合周边围合的建筑布局以及简洁的行式排列,营造出简洁、明快、具有东南亚特色的新式景观空间。
应用推荐