In this case, I create an array of hash tables — a common method to store structured data such as this.
在本例中,我创建了一个散列表的数组——用来存储这类结构式数据的一种常见方法。
Or you may want to create a linear array for swap, because it does not really matter how you use it, as it's a raw device.
或者你可能想要为交换区创建线性阵列,因为你如何使用它无关紧要,因为她是原始设备。
So the solution is simple: create a wrapper for the array, as shown in Listing 3.
所以,解决的方法很简单:为数组创建一个“包装”,正如清单3所示。
With the index array of scores created, we use the standard sort command as described in section 4 of the perlfaq to create the @sorted array of ordered search results.
创建分数索引数组后,我们将按照perlfaq的第 4部分中的说明使用标准排序命令来创建排序后搜索结果的 @sorted 数组。
Instead, they use relations among tables to create a one-to-many structure between objects, which has the same effect as an array.
相反,它们使用表之间的关系来创建对象之间的一到多结构,这与数组具有相同的效果。
One way would be to create an array of booleans, one for each line of the original method, and add code that sets the appropriate flag as each line is executed.
可以使用的一种方法是创建一个布尔值数组,初始方法中的每一行代码对应一个布尔值,然后添加代码,每执行一行代码就设置相应的标志。
Indexers are a syntactic convenience that enable you to create a class, struct, or interface that client applications can access just as an array.
索引器在语法上方便您创建客户端应用程序可将其作为数组访问的类、结构或接口。
The open plan shop seeks to create a market experience — wooden crates and wicker baskets feature as part of the décor, allowing the customer to chose from an array of openly displayed breads.
开敞式店,旨在创造一个市场的经验-木箱和柳条筐作为装饰的一部分功能,让客户从公开展示的面包阵列选择。
The dictionary class is very similar to an associative array, however a bit more powerful. The dictionary allows you to create maps based on complex objects as the keys for the key-value pair.
字典类和索引数组非常类似,当然字典类更加强大,字典允许你使用复杂的类作为键。
The dictionary class is very similar to an associative array, however a bit more powerful. The dictionary allows you to create maps based on complex objects as the keys for the key-value pair.
字典类和索引数组非常类似,当然字典类更加强大,字典允许你使用复杂的类作为键。
应用推荐