在清单5中,我们在调用期间动态地构建了数组引用,然后在打印结果时使用OID作为散列键。
In Listing 5 we build the array reference dynamically during the call, and then use the OID as the hash key when printing out the result.
例如,如果键是整数,该值应该作为散列码。
For example, if the key is an integer, this value might serve as the hash code.
通过对上述两个表的连接键(pdb_id)进行散列处理来分布两个表也能确保给定pdbml文档中所有原子行均能作为本身的PDBML文档存储在相同的数据库分区中。
Distributing both tables by hashing on their join key (pdb_id) also ensures that all atom rows for a given PDBML document are stored in the same database partition as the PDBML document itself.
这样,我可以让它们作为散列的键、将要被检索的字符串列表,等等。
Thus, I can use them as hash keys, lists of strings to be searched, etc.
稍后将在程序中搜索这些键,并且它们的最后记录时间将作为“event”散列元素的值存储。
These keys will be searched for later in the program and their last recorded time stored as the value of the "event" hash element.
使用环境参数作为到一个散列的键,从而派生出theme值。
Derive the Theme value by using the environment parameter as a key to a hash.
我使用一个散列映射作为类属性,但是必须构造一个包含国家、地区和页面起点的键,见LoadCities方法。
I used a hash map as a class attribute, but had to construct a key that included the country, the region, and the page start, as shown in the LoadCities method.
我使用一个散列映射作为类属性,但是必须构造一个包含国家、地区和页面起点的键,见LoadCities方法。
I used a hash map as a class attribute, but had to construct a key that included the country, the region, and the page start, as shown in the LoadCities method.
应用推荐