setUp方法实例化mock对象并将它注入到方面中。
The setUp method instantiates the mock object and injects it into the aspect.
最后给出了实时数据库及相关数据模型的实现方法实例。
Practical examples of implementing methods for real time database and relevant data models are given.
此方法实例化一个枚举数,该枚举数采用集合当前状态的快照。
This method instantiates an enumerator that takes a snapshot of the current state of the collection.
Because I could've built that in, it says if you change the value of this thing, by the way you need to change recompute those other values in order to make this hold up.
我想要大家通过定义好的方法,来改变实例的值了,因为我可以把这个功能,内置到方法里面去,它的意思就是如果,你改变一个值。
They are instances of a class, and associated with that class is a set of methods.
它们是同一个类的实例,与这个类相关联的是一个方法集,因此例如,我可以说。
I think of data hiding as basically saying, one can only access instance values, or, we'll call them that, instance values through defined methods.
一个人仅仅可以访问实例变量,或者,我们可以这么来说,通过定义好的方法,来访问实例的变量。
应用推荐