Now if you look at my derivation here, there's one spot where I could have just stopped and proven my point without going through the whole thing.
如果仔细检查我的推导过程,你会发现其实,我们不用研究整个循环过程,就可以证明我们要证的公式。
The format is the same. I'm going to ask for some input, and then I am going to use that procedure to check, is this the right type of value. And I'm trying to use that to do the coercion if you like. Same thing if it works, I'm going to skip that, if it not, it's going to throw the exception.
格式是一样的,我需要一些输入,然后我要用一个过程来检查,是否是正确的值,然后你就可以做强制转换了,如果能运行,那是一样的,我打算跳过这段,如果不正确,那就会抛出一个异常。
应用推荐