一般来讲,可以通过类方法或实例方法的调用来获得对象引用。
Generally, object references can be obtained by the invocation of a class method or instance method.
正如前文所述,每个对象也可以缓存它在实例变量中使用的JNDI引用,所以每个对象在某一时刻只能访问一个资源。
As mentioned earlier, each object can also cache the JNDI references it USES in instance variables, so that each object only has to access a reference one time.
稍后您将发现,这两个元素将在模式实例中被引用。
Both of these are referenced elements found later in the schema instance.
因为本实例没有任何特殊的构造函数、操作、属性或引用,所以不需要这些调用。
This instance doesn't have any special constructors, operations, attributes, or references, so these calls aren't required.
为对象缓存的最好的方式是存储任何的它要在实例变量中使用的JNDI引用。
The best way to cache is for an object to store any JNDI reference it USES in an instance variable.
每个实例必须初始化其自身的缓存,但它只缓存那些它要使用的引用,并且可以直接访问引用而不是要到一个散列映射中去寻找。
Each instance has to initialize its own cache, but it only caches the references it USES, and is able to access the reference directly rather than having to look it up in a hash map.
这个新创建的实例没有被添加到任何清单或者引用中,其如清单1所示的那些相关API那样。
This newly created instance is not added to any list or any reference, as is the related API shown in Listing 1.
这意味着对象的所有不同实例在程序初始化阶段创建,将在随后重用和引用。
This means that all different instances of an object are created during the program initialization phase and reused and referenced later on.
在随后进行更改时,将视图部件实例的引用存储到一个类变量中。
In the change that follows, it stores a reference to the view part instance in a class variable.
最后,字符串类型是引用类型,因此每个字符串实例都引用一个附加的内存块,以存放实际的字符串数据。
Finally, the string type is a reference type, so every string instance refers to an additional block of memory to hold the actual string data.
在这个阶段中,我们在全局环境中安装了DB2,以及具有应用程序WPAR引用的DB 2实例。
At this stage we have DB2 on Global and a DB2 instance with application WPAR references.
目前不支持访问数组、实例变量和对象引用。
Accessing arrays, instance variables, and object references are not supported as of now.
要想从命令行接口引用给定的DB2实例,应该使用环境变量DB2INSTANCE。
To reference a given DB2 instance from a command line interface, use the environment variable DB2INSTANCE.
它指定由XML实例文档引用的统一资源指示符(uri)。
It specifies the uniform resource indicator (URI) referenced by XML instance documents.
上述类的单独一个实例具有相应类的下拉列表值的引用。
The single instance of mentioned class holds the reference for drop-down values of that class.
在这个意义上,只引用模式并且不添加新的声明的XML消息是XML实例文档。
XML messages that only reference a schema and do not add new declarations are XML instance documents in this sense.
创建三个新的绑定语句,每个引用编辑器实例中的一个节点。
Create three new binding statements, each referring to one of the nodes in the editor instance.
它们被放在任务实例的客户属性中,在进行补充数据清理时用于引用补充数据行(任务完成时)。
They are placed in the task instance's custom properties to be used to reference the supplemental data row when a cleanup of the supplemental data is done (when the task is completed).
这允许结构中的元素引用结构实例后面紧接着的内存。
This allows the element in the structure to reference memory that follows and is contiguous with the structure instance.
当在会话中第一次引用时,全局变量将进行实例化来获得其默认值。
A global variable is instantiated to its default value when it is first referenced in the session.
该特性比函数指针更强大,因为它允许内部类实例保持对创建它的环境的引用。
This feature is richer than function Pointers because it allows the inner class instance to retain a reference to the environment in which it was created.
隐式类装入发生在由于引用、实例化或继承导致装入类的时候(不是通过显式方法调用)。
Implicit class loading occurs when a class is loaded as result of a reference, instantiation, or inheritance (not via an explicit method call).
为了帮助描述在线帮助中的目录结构和生成的文件,本文引用一个项目实例。
To assist in describing the directory structure and generated files used in the online help, this article refers to a project example.
有个得到广泛引用的实例涉及到在卡茨基尔山及该市周边的其它地区供应纽约的水域。
One widely-cited example concerns the watersheds that supply New York, in the Catskill Mountains and elsewhere around the city.
JSP实例文件引用这个定义而不是jsp模版文件。
The JSP instance file refers the definition instead of JSP template file.
一个XML实例文档可能引用多个名称空间的元素名,这些名称空间定义在不同模式中。
An XML instance document may refer to names of elements from multiple namespaces that are defined in multiple schemas.
还有个问题,是关于原书中大量引用的一些设备、选厂和流程的实例。
A particular problem arose with the extensive references to particular machines, concentrators and flowsheets.
从相应url工厂请求新engineurl实例时,要指定EngineURL所引用的初始状态容器。
You specify the initial state holder an EngineURL references when requesting a new EngineURL instance from the appropriate URL factory.
可以通过实例文档填充表单,实例文档是从表单元素上的XPath表达式引用的。
You can populate the form through an instance document, which you reference from XPath expressions on the form elements.
通过对内核的引用,可以使用GBeanData实例描述GBean。
With a reference to the kernel, you can describe a GBean using a GBeanData instance.
应用推荐