Sets all the instance variables in the object to their default values.
将对象中所有的实例变量设置为它们的默认值。
Accessing arrays, instance variables, and object references are not supported as of now.
目前不支持访问数组、实例变量和对象引用。
The simple solution is to dump the values of all the instance variables to the screen as needed.
简单的解决方案是根据需要将所有实例变量的值都显示到屏幕上。
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.
为了简化这个示例(并减少我的工作量),我们定义了一些实例变量来保存准备为其提供服务的节点的值。
The list of instance variables in this class is worth noting because they define the result object that is generated by the analysis procedure.
这个类中的实例变量列表值得注意,因为它们定义了由分析过程生成的结果对象。
Since this is a static implementation and you cannot store instance variables in XmlObjects, you need to store the list of interested parties elsewhere.
因为这是一个静态实现,而且不能在XmlObject中存储实例变量,所以需要在别处存储对更改感兴趣的对象的列表。
Before you unseal your bundle in logon (AuthBundle), remember that you never want to store unsealed AuthBundles as instance variables in your connector.
在logon (AuthBundle)中对束进行开封之前,要记住不要把未密封的AuthBundles存储为连接器中的实例变量。
There's no need to go through the read_inheritable_attribute macro to use attributes because these are class instance variables defined by ActiveRecord.
不需要通过 read_inheritable_attribute宏来使用属性,因为这是ActiveRecord定义的类实例变量。
The first and most important addition was access protection for methods and instance variables on classes -- the public, protected, and private keywords.
第一个也是最重要的新特性是针对类的方法和实例变量的访问保护 ——public、protected 和private 关键字。
Key things to note here are the thread local storage declarations and the instance variables used to hold the potential source of the username and password.
这里需要注意的关键内容是用于存放用户名和密码的可能来源的线程本地存储声明和实例变量。
For in a more realistic and complex example, the WorkUnit may have many instance variables that are really only relevant when it is being run by the Worker.
举一个更为现实和复杂的例子,WorkUnit可能有很多实例变量,它们实际上只在由Worker运行的时候才是相关的。
I find that this actually increases the readability of methods: there is no chance of confusing local variables and instance variables when glancing through a method.
我认为这事实上增加了方法的可读性:即使粗略的浏览一个方法,也不会有混淆局部变量和实例变量的机会。
During the init method, store information used by the getter methods (like the user name) using instance variables on the application object or using WebSphere Dynamic Cache maps.
在init方法中,使用应用程序对象中的实例变量或WebSphereDynamicCache映射来存储getter方法所使用的信息(比如用户名)。
The Rails version has optimized integration between the controller and view that minimizes configuration and automatically makes controller instance variables available to the view.
Rails版本已经优化了控制器和视图之间的集成(该集成能够使配置文件最小化)并且自动使控制器实例变量可供视图使用。
The Rails version has optimized integration between the controller and view that minimizes configuration and automatically makes controller instance variables available to the view.
Rails版本已经优化了控制器和视图之间的集成(该集成能够使配置文件最小化)并且自动使控制器实例变量可供视图使用。
应用推荐