If I had had a clean interface, that I had a specific method to get those values out, I wouldn't have to change anything.
如果之前我创建了,一个清楚的借口,也就是我有特定的,取得这些值的方法的话。
So this is a handy way of being able to see, what are in fact the methods that are available if I don't happen to remember them, and want to go back to them.
因此这是一种简便的方式,来看看如果我不记得,可用的方法了,应如何去取得他们。
That method has a name, obviously, and what does it do?
是用来做什么的呢?,这个方法是去取得这个东西的?
All right, now, that's one of the ways we could get things out, but in fact it's really not a good way.
找到x的值,好,这是一种我们可以取得值的方法,但是实际上这不是一种好方法,更好的一种办法。
应用推荐