Next, it has several instance variables.
接下来,它有一些实例变量。
The instance variables are broken into five groups.
实例变量分为五组。
The TestsRulesEngine class has only two instance variables.
TestsRulesEngine 类只有两个实例变量。
The action method copies any instance variables to the view.
动作方法把实例变量拷贝到视图。
Specifically, how an object stores its instance variables in memory.
特别是对象如何在内存中存储其实例变量。
Sets all the instance variables in the object to their default values.
将对象中所有的实例变量设置为它们的默认值。
The issue is for classes that have a small number of instance variables.
问题出在拥有少量实例变量的类上。
At the end, all your instance variables are now assigned to the view components.
最后,将所有实例变量都分配给视图组件。
We can see that the instance contains the instance variables declared in the class.
我们可以发现这个实例包含了所有在类中声明的实例变量。
Accessing arrays, instance variables, and object references are not supported as of now.
目前不支持访问数组、实例变量和对象引用。
Add the following instance variables right after the class definition as shown in listing 1.
在类定义之后添加以下实例变量,如清单1所示。
The simple solution is to dump the values of all the instance variables to the screen as needed.
简单的解决方案是根据需要将所有实例变量的值都显示到屏幕上。
You will repeat this action for all the view components with the corresponding instance variables.
您将使用相应的实例变量对所有视图组件重复此操作。
The code in Listing 3 sets up the instance variables rails needs to show a paginated list of trails.
清单3的代码设置了Rails显示线路的分页列表时需要的实例变量。
The instance variables were declared as part of the bean implementation, which was a concrete class.
它将实例变量声明为Bean实现(一个实际的类)的一部分。
When modeling a statistical test or procedure, you need to figure out which instance variables to declare.
当对统计测试或过程进行建模时,您需要指出声明哪些实例变量。
First, you must change the fields from individual instance variables to a hash table of field and value pairs.
首先,必须把字段从单个实例变量修改成字段和值组合构成的散列表。
Because Ruby does not require instance variable declaration, the simplest way to model instance variables is with a hash.
由于Ruby并不需要声明实例变量,因此建模实例变量最简单的方式就是使用散列。
Notice the instance variables (or ivars, as Cocoa and Cappuccino usually refer to them) for your controller in Listing 3.
注意清单3中您的控制器的实例变量(或ivar—Cocoa和Cappuccino通常这样称呼它们)。
Variables defined at this level are called instance variables, or ivars for short, and are stored as part of each object.
这个层次定义的变量就成为实体变量,或者简称为ivars,这些变量作为每个对象的一部分来存储。
If you scope variables appropriately and reduce the use of instance variables, you can reduce this kind of object retention.
如果您适当地限制了变量的范围并且减少实例变量的使用,则可以减少此类对象保留。
You start by filling out the instance variables, constructor, and some helper methods that are not specific to Lotus Sametime.
首先需要填充实例变量、构造器和一些帮助器方法,这些内容并非特定于Lotus Sametime。
You should emphasize tests that touch objects stored as instance variables, because they are the most likely to cause problems.
请侧重于这样的测试:那些涉及到作为实例变量存储的对象的测试,因为它们最有可能出现问题。
In the present context it is enforced by selection of instance variables to represent computed intermediate and summary results.
在当前环境下,通过选择实例变量来表示计算得到的中间值和汇总结果,从而实施了该原则。
These instance variables are not reset and, if they are not null, are used to provide the username and password on every request.
这些实例变量不能重新设置,如果它们不为空,则用于为每个请求提供用户名和密码。
Unlike instance variables, class variables are associated with all objects of a particular class and not with individual objects.
与实例变量不同的是,类变量与该类所有的对象关联在一起而非某个特定的对象。
As you transition from one state to the next, the framework captures the current state, with all instance variables, automatically.
当从一个状态转换到下一个状态时,框架自动捕获当前状态,包括所有实例变量。
Finally, it dawned on me that they had declared many variables with global scope (class instance variables) via declaration elements.
最后,我发现他们通过声明元素声明了很多全局变量(类实例变量)。
To simplify the example (and to lighten my workload) we've defined instance variables that hold the values of the nodes we intend to serve.
为了简化这个示例(并减少我的工作量),我们定义了一些实例变量来保存准备为其提供服务的节点的值。
To simplify the example (and to lighten my workload) we've defined instance variables that hold the values of the nodes we intend to serve.
为了简化这个示例(并减少我的工作量),我们定义了一些实例变量来保存准备为其提供服务的节点的值。
应用推荐