The Duero Val 斗罗河谷
The up variable is declared as a read-only “value” using the val keyword.
变量up 被val 关键字定义为一个只读的值。
The first line USES the val keyword to declare a read-only variable named book.
在第一行我们使用了val关键字来声明一个只读变量book。
max val I'm not going to call the other max val here, because we know what happens when I do that.
我不打算调用其他,因为我们知道当,我这么做会发生什么。
Well, now I go through code very much like what I did for max val in the first place. I check whether it's 0, et cetera, et cetera.
现在我会捋一遍代码,就像我之前捋maxval函数一样,我会检查它是不是0等等等等。
And then I'll call fast max val passing at this extra argument of the memo.
然后我会调用快速maxval函数,而它是基于这个额外变量memo的。
应用推荐