If you assign one class instance variable to another, not only do they have the same data type, they point to the same class instance in memory.
如果将一个类实例变量赋给另一个类,它们不仅具有相同的数据类型,还在内存中指向相同的类实例。
An assertion cannot be used with class variable declarations for instance, but can be placed within any method.
不能将断言同实例的类变量声明一块使用,但却可以将其置于任何方法内。
In the change that follows, it stores a reference to the view part instance in a class variable.
在随后进行更改时,将视图部件实例的引用存储到一个类变量中。
The invocation handler will contain an instance of a real implementation class as an instance variable.
调用处理程序中会包含一个实际的实现类的实例,把它作为实例变量。
This business object encapsulates the Notes document in a private instance variable inherited from the BOEntity class, so any direct access to this document and its items is prevented.
而这个业务对象在从boentity类继承的一个私有实例变量中封装Notes文档,这样可以保护任何对该文档及其项的直接访问。
The second field, of type StaticLocalInitFlag, assists in initializing the variable I correctly the first time the method executes on each instance of class Foo.
第二个字段的类型为StaticLocalInitFlag,它在针对foo类的每个实例第一次执行方法时协助正确初始化变量i。
This component does not have an assigned instance variable inside the view controller class, but you need to define the class delegate.
虽然此组件在视图控制器类内不具有已分配的实例变量,但是您需要定义类delegate。
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。
A view class has a special instance variable called @main_view_component that references its corresponding Swing class.
视图类有一个专用的实例变量 @main_view_component,它引用相应的Swing 类。
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.
关于如何计算每个实例变量的详细信息,可以查阅该类的构造函数方法,所有这些值都源自那里。
If you want to maintain a single instance of a variable for all instances of a class, you will use static-class member variables to do it.
如果您想为一个类的所有实例维持一个变量的实例,将会用到静态类成员变量。
The DefaultDAO class stores an instance of itself (as a Singleton) in the static variable instance, allowing access to that instance through the getInstance() method.
DefaultDAO 类在静态变量instance 中存储了它自己的一个实例(存储为Singleton),并允许通过getInstance()方法访问该实例。
If the var attribute is present, the transformed XML document will be assigned to the corresponding scoped variable as an instance of the org.w3c.dom.Document class.
如果var属性存在,转换后的XML文件将分配给相应的scoped变量,作为or g .w3c . dom . document类的一个实例。
The file-level variable resource is special -- it needs to point to an instance of a twisted.web.resource.Resource child, where its class defines a .render() method.
文件级变量resource很特殊-它需要指向 twisted.web.resource.Resource 子类的实例,该类定义了 .render() 方法。
How do I have a breakpoint get triggered if an instance variable in the class has its value changed?
我怎么有一个断点得到如果在类的一个实例变量的值的变化引起的?
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.
如果父组件的类需要读取子组件的属性值或调用子组件的方法,就不能使用本地变量方法。
We are going to start off by creating a variable to hold an instance of the XML Class .
我们将首先创建一个变量起飞举行一次的XML 类的实例。
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.
一个对象变量可以有在不同时间赋给它的不同的类实例,多个对象变量可以同时引用同一个类实例。
I would make the tick Clip an instance variable that is loaded when the top level class is instantiated.
我会让勾夹的实例变量加载时,顶层的类被实例化。
Hence a variable of a class type can reference an instance of any descendant type.
因此,类类型的变量可以引用其所有子孙类型的实例。
Because there is no instance variable, you access the members of a static class by using the class name itself.
由于没有执行个体变数,您要使用类别名称本身存取静态类别的成员。
Changes you make to the values of class members affect those members when accessed through another variable pointing to the same instance.
当透过指向相同执行个体的其他变数来存取时,您对类别成员值所作的变更会影响这些成员。
The instance variable is accessible only within the class that declares it.
实例变量只能被声明它的类访问。
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.
多个执行个体:物件变数在不同时间可有不同的指派类别执行个体,而且数个物件变数可同时参考同样的类别执行个体。
Now we can write a concrete OrderEJB class that depends on an instance variable of this interface.
现在我写一个依靠这个接口的实例变量的具体OrderEJB。
If you use this variable to pass a reference to an instance of a class, the members of the instance can be modified by the thread-pool thread and used as return values.
如果您使用这个变数将参考传回类别的执行个体,则执行绪共用执行绪可以修改执行个体的成员,并当做传回值使用。
If you use this variable to pass a reference to an instance of a class, the members of the instance can be modified by the thread-pool thread and used as return values.
如果您使用这个变数将参考传回类别的执行个体,则执行绪共用执行绪可以修改执行个体的成员,并当做传回值使用。
应用推荐