列表值的引用存储在子类内。
上述类的单独一个实例具有相应类的下拉列表值的引用。
The single instance of mentioned class holds the reference for drop-down values of that class.
所有特定列表值类都应扩展自validvaluestable。
All specific list values classes should extend from ValidValuesTable.
First, it's pointing to the beginning of the list, which initially might be down here at but after a while, might be part way through. And to that, I simply add a halfway point, and then I check.
列表中间的一个部分了,然后我求出列表的中值点,然后看看该点的值是不是等于目标值,如果是的话就完成了,如果不是的话,如果中位值大于我要找的目标值。
I'm walking along the list once, taking two things and saying, make sure the biggest one is next.
我遍历一次列表,每次取两个值,确认最大的元素在后面一个。
I look at the rest of the list, but I've changed the value.
我们再来看看其余的列表,我已经改变的值。
应用推荐