constant component list [计] 常数成分表
The order id, district and warehouse are constant for all items in the list.
对于列表中的所有产品,订单id、地区和仓库是不变的。
It is needed when there should be a specific list of constant values to be used for the simple type defined by the enumeration.
当枚举定义的简单类型使用常数的特殊列表时,就会需要这种类型了。
Evaluate is called with the XPath string passed into the method, the DOM tree you built in the class's constructor, and the constant indicating to return results as a list of nodes.
使用传递给该方法的xpath字符串调用evaluate,在类的构造函数中构建的dom树和常量指示将结果作为一组节点返回。
Remember we said we design lists so that the access, no matter where it was on the list was of constant time.
记住我们说过我们创建了,一个列表它就是这么访问的,无论它在列表的哪个位置。
Constant. Ooh, constant says, no matter what the length of the list is, I'm going to take the same amount of time.
这个算法用的时间是相同的,我不这么认为,如果我们创建一个十倍于以前大小的数组。
And as a consequence, access time in the list is constant, which is what I want.
这会占用一些额外的空间,回到问题本身,这么做的话,读取数组的时间就变成常量了。
应用推荐