如果你觉得这种类型的大多数对象会被用做散列键(hash keys),就应该在创建实例的时候计算散列码。否则,可以选择延迟初始化散列码,一直到hashCode被第一次调用的时候才初始化。
基于16个网页-相关网页
duplicate hash keys 杂凑阵列索引值
The compiler ran out of hash keys for the symbol table.
编译器用完了符号表的哈希键。
youdao
Thus, I can use them as hash keys, lists of strings to be searched, etc.
这样,我可以让它们作为散列的键、将要被检索的字符串列表,等等。
For example, variables and hash keys won't be created on their first use by default.
例如,不会在第一次使用时缺省创建变量和散列密钥。
应用推荐
模块上移
模块下移
不移动