只能把简单的常量值赋给实例变量。
The only values you can assign to an instance variable are simple constants.
为每个视图组件选择相应的实例变量。
Select for each view component the corresponding instance variable.
不鼓励通过实例变量来使用静态成员。
Using a static member through an instance variable should be discouraged.
把people实例变量转换成xml。
目前不支持访问数组、实例变量和对象引用。
Accessing arrays, instance variables, and object references are not supported as of now.
将对象中所有的实例变量设置为它们的默认值。
Sets all the instance variables in the object to their default values.
同时也创建了用于设置这个实例变量的构造函数。
It also creates a constructor that sets this instance variable.
每个实例变量对应前面定义的一个ui元素。
当对统计测试或过程进行建模时,您需要指出声明哪些实例变量。
When modeling a statistical test or procedure, you need to figure out which instance variables to declare.
简单的解决方案是根据需要将所有实例变量的值都显示到屏幕上。
The simple solution is to dump the values of all the instance variables to the screen as needed.
对于每个键,会在对象上创建一个具有对象名称和数据的实例变量。
With each key, an instance variable is created on the object with that name and data.
注意,通过使值实例变量成为可变变量并不能可靠地完成这项操作。
Note that this operation cannot be achieved reliably by making the value instance variable volatile.
您还可以使用名为prototype实例变量来指定对象的基础。
You can use the instance variable called prototype to specify the basis for your object.
它将实例变量声明为Bean实现(一个实际的类)的一部分。
The instance variables were declared as part of the bean implementation, which was a concrete class.
方法是设置prototype实例变量使其指向继承链的父。
You'll set a prototype instance variable to point to the parent in the inheritance chain.
首先,必须把字段从单个实例变量修改成字段和值组合构成的散列表。
First, you must change the fields from individual instance variables to a hash table of field and value pairs.
调用处理程序中会包含一个实际的实现类的实例,把它作为实例变量。
The invocation handler will contain an instance of a real implementation class as an instance variable.
最后,我发现他们通过声明元素声明了很多全局变量(类实例变量)。
Finally, it dawned on me that they had declared many variables with global scope (class instance variables) via declaration elements.
具体地,您需要为您在视图上定义的每一个动态组件创建一个实例变量。
Specifically, you need to create an instance variable for each dynamic component that you defined on the view.
实例变量的选择可以通过说明由分析过程生成的中间值和汇总值来确定。
The selection of instance variables can be determined by noting the intermediate and summary values to be generated by the analytic procedure.
清单3的代码设置了Rails显示线路的分页列表时需要的实例变量。
The code in Listing 3 sets up the instance variables rails needs to show a paginated list of trails.
为对象缓存的最好的方式是存储任何的它要在实例变量中使用的JNDI引用。
The best way to cache is for an object to store any JNDI reference it USES in an instance variable.
确保设置了以下db 2实例变量,如果没有,使用db2set命令添加它。
Ensure that the following db2 instance variables are set, if not add it using db2set command.
当从一个状态转换到下一个状态时,框架自动捕获当前状态,包括所有实例变量。
As you transition from one state to the next, the framework captures the current state, with all instance variables, automatically.
这个类中的实例变量列表值得注意,因为它们定义了由分析过程生成的结果对象。
The list of instance variables in this class is worth noting because they define the result object that is generated by the analysis procedure.
与实例变量不同的是,类变量与该类所有的对象关联在一起而非某个特定的对象。
Unlike instance variables, class variables are associated with all objects of a particular class and not with individual objects.
这些实例变量不能重新设置,如果它们不为空,则用于为每个请求提供用户名和密码。
These instance variables are not reset and, if they are not null, are used to provide the username and password on every request.
如果您适当地限制了变量的范围并且减少实例变量的使用,则可以减少此类对象保留。
If you scope variables appropriately and reduce the use of instance variables, you can reduce this kind of object retention.
如果您在控制器中创建了一个实例变量,那么这个变量就可以直接在视图模板中使用。
If you create an instance variable in your controller, that variable will magically be available to your view template.
class_eval的示例类似,实例变量的值可以通过其他的方式获取,不过使用
Similar to the class_eval example, the value of an instance variable can be gotten in other ways; however, using instance_eval is a very straightforward way to accomplish the above task.
应用推荐