Have the computational hygiene, if you like, to only go through accessors, only go through methods that are actually provided to you as you do this.
请大家注意计算卫生,如果你喜欢这么说的话,只通过访问器访问数据,当你访问数据的时候,通过提供给你的方法来访问。
Conversely, if I knew the velocity of this object, I also know what time it is, provided I knew the initial velocity.
反过来,如果我知道了这个物体的速度,我也同样可以知道时间,只要初速度是已知的
应用推荐