Enumerations and numeric ranges: For example, the value of a particular string attribute must be a, c, or D. Another example: the value of a particular numeric must be between 1 and 500.
枚举与数字范围:例如,某个特定字符串属性必须为A、c或者d。再比如,某个特定的数字必须在1至500之间。
Now we're not dealing with C and C arrays but also want to use string offsets so we need a function to calculate a numeric value, a hash, for each key.
现在我们处理的不是C语言和它的数组,我们想用字符串偏移量,所以我们需要一个哈希函数,为每个键值计算出一个数值。
应用推荐