class instance variable的意思|示意

美 / / 英 / /

类实例变量


class instance variable的网络常见释义

类实例变量 ...属于两个不同的对象,自然不会混到一起,事实上,我们通常会把这种和类绑定的实例变量叫做类实例变量(class instance variable),以便和一般的实例变量区分开来。

class instance variable相关例句

Instead, the thread class was modified to support ThreadLocal by adding an instance variable to thread that holds a HashMap mapping thread-local variables to their values for the current thread.

相反地,人们通过给Thread添加一个实例变量(该变量用于保存当前线程的从线程局部变量到它的值的映射的HashMap)来修改thread类以支持ThreadLocal。

In the change that follows, it stores a reference to the view part instance in a class variable.

在随后进行更改时,将视图部件实例的引用存储到一个类变量中。

We can't use the local variable technique if an instance of the parent component class must read or write child component values or must call child component methods.

如果父组件的类需要读取子组件的属性值或调用子组件的方法,就不能使用本地变量方法。

An assertion cannot be used with class variable declarations for instance, but can be placed within any method.

不能将断言同实例的类变量声明一块使用,但却可以将其置于任何方法内。

Multiple instances. An object variable can have different class instances assigned to it at different times, and several object variables can refer to the same class instance at the same time.

多个执行个体:物件变数在不同时间可有不同的指派类别执行个体,而且数个物件变数可同时参考同样的类别执行个体。

For details on how each instance variable is computed, you can look at the constructor method for the class where all these values are derived.

关于如何计算每个实例变量的详细信息,可以查阅该类的构造函数方法,所有这些值都源自那里。