Because implicit objects are declared automatically, we need only use the reference variable associated with a given object to begin calling methods on it.
因为隐式对象是自动声明的,所以我们只需要使用与一个给定对象相关的引用变量来调用其方法。
If you want to change an immutable object, you don't - you create a new object with the changed value and point your reference to it.
如果您想要改变一个不可变对象的话,您不会改变它,而是使用修改后的值来创建一个新的对象,并把您的引用指向它。
Each type of reference object has different behaviors, and their interaction with the garbage collector varies.
每种引用对象都有不同的行为,而且它们与垃圾收集器之间的交互也有所不同。
To maintain the integrity of objects with different lifetimes, you must follow one rule when referencing objects: an object may not reference another object with a shorter lifetime.
要维护具有不同生存期的对象的完整性,在引用这些对象时必须遵守一条规则:一个对象可能不能引用另一个具有更短生存期(与自身比较)的对象。
The object Reference Graph view and the object Details view also highlight counts for the ten objects with the greatest leakage, which AIDS in manual analysis.
对象引用视图和对象细节视图也为十个泄漏最严重的对象高亮度计数,这有助于手动分析。
Instead, the DAOS-enabled server saves a single copy of the attachment in the DAOS repository and replaces the attachment with a reference to that DAOS object.
支持DAOS的服务器在DAOS存储库中保存一个附件副本,将附件替换为指向该DAOS对象的引用。
To summarize, the ORB pass by reference option basically treats the invoked EJB method as a local call (even for EJBs with remote interfaces) and avoids the requisite object copy.
总的来说,OR B通过引用传递选项基本上将调用的EJB方法作为本地调用对待(甚至对于带远程接口的EJB),并避免必需的对象复制操作。
Furthermore, I wanted to illustrate how a Web reference can then be used to instantiate a local object that interacts with the Web service.
此外,我想阐明如何接着使用Web引用来实例化与Web服务交互作用的本地对象。
One reason is that you may wish to have one DictionaryIO object work with multiple Dictionary objects and to store a separate reference to it.
一个原因是您可能希望一个DictionaryIO对象使用多个Dictionary对象,或者希望存储该对象的单独引用。
Because the inner function holds a reference to the outer function's variables, the scope object with property a will not be garbage collected.
由于内部函数持有到外部函数的变量的引用,所以这个带属性a的范围对象将不会被垃圾收集。
The FetchDocuments method is an RPC-based service with both user information and document reference object as parameters.
FetchDocuments方法是一个基于 RPC 的服务,用户信息和文档引用对象都作为其参数。
The invoke method is called with a reference to the proxy implementation object (needed to return this), the method object being invoked, and the method arguments.
调用invoke方法时,需要带上对proxy实现对象的引用(需要用于返回this)、被调用的Method对象和方法参数。
The idea of a SoftReference is that you hold a reference to an object with the guarantee that all of your soft references will be cleared before the JVM reports an out-of-memory condition.
SoftReference的原理是:在保持对对象的引用时保证在JVM报告内存不足情况之前将清除所有的软引用。
The declaration begins with the global reference to the Flex application, then a method call that always begins with the string get followed by the ID of the target object.
该声明首先是Flex应用程序的全局引用,然后是始终以字符串get 为开头、后接目标对象ID的方法调用。
The only way for StringReader to see the str reference to be anything other than a String object with "hello" as its value is if the problem of out-of-order writes occurs.
如果发生了无序写入问题,则使StringReader看到str引用的惟一方法绝不是值为“hello”的String对象。
An object with more than one reference has more than one name, so we say that the object is aliased.
这样一个对象有不止一个引用,就也有了不止一个名字,所以就说这个对象有别名了。
By doing a runtime analysis with Rational Purify, however, you can pinpoint the exact line of code where the reference to the object in question has been created (Figure 10).
但是通过使用RationalPurify的运行时分析,您能够指出发生问题的对象指针的准确代码行(图10)。
From the EJB reference menu, completely expand it until you can select the SQLJSessionBeanLocal.create method and then select the Invoke followed by the Work with Object buttons.
在EJBreference菜单中完全展开菜单项,直到能够选择SQLJSessionBeanLocal . create模块,然后选择Invoke followedbytheWorkwith Object按钮。
The uncertain object with dead time is taken as a reference model and a kind of adaptive rule is proposed to make parameters of the compensator to approach the object's.
以线性大时滞不确定被控对象为参考模型综合出自适应律,使预估补偿器的参数逐步逼近被控对象的参数直至相等。
Expressions to test the type compatibility of two object reference variables with various data types.
表达式测试两个对象引用变量与各数据类型的类型兼容性。
You might imagine this scene as a television (the object) with your remote control (the reference).
可将这一情形想象成用遥控板(句柄)操纵电视机(对象)。
The analysis is made based on the reciprocity of object beam with reference beam and experimental results are presented in this paper.
本文用物光、参考光地位对等的观点来进行分析,并给出了实验结果。
Adds this reference object to the queue with which it is registered, if any.
如果存在该队列,则加入引用对象到其注册的队列中。
Phantom reference has nothing to do with the life cycle of an object.
虚引用和对象的生命周期无关。
A kind of object reference parameter adaptive dead time compensator is presented. A group of models are Used to simulate the uncertain process with large dead time.
本文提出了参考对象的参数自适应时滞补偿器,该补偿器用一族模型拟合大时滞不确定过程。
For isolated-type symmetry half-bridge bidirectional converter with phase-shifted control, a simplified circuit under 4 modes using the primary windings of transformer as reference object is built.
以隔离型对称半桥双向变换器为对象,建立了以原边为参考的4种模式下的简化电路,提出了结合开关函数的状态空间平均模型的建立方法。
When you rename a database object, other objects that reference the renamed object are automatically updated with the new name.
重命名某一数据库对象后,引用该重命名对象的其他对象将自动使用新名称更新。
The association of a variable with an object is called a reference.
一个变量和一个对象的关系叫做引用。
Standard C allows for the initialization of an object or variable with an expression involving a reference to itself, but only for objects of nonstatic extent.
标准C允许使用需要引用自身的表达式初始化对象或变量,但只适用于非静态作用域的对象。
Reference consulting service in college library is characterized with virtualized information sources, multi-service content, distant service way and special service object.
高校图书馆的参考咨询服务呈现出咨询服务信息源的虚拟化、服务内容多元化、服务方式的远程化、服务对象个性化的特点。
应用推荐