It is also an error to initialize an instance field in a struct body.
在结构体中初始化实例字段也是错误的。
Adding new instance field or renaming an existing one will cause existing objects to have it initialized to null.
添加新的实例属性或重命名现有的实例属性时,现有的对象会把这个实例属性初始化为null。
An instance method declares a parameter or a local variable whose name matches an instance field of the declaring type.
实例方法声明一个名称与声明类型的实例字段匹配的参数或局部变量。
Typically, an instance of this class is instantiated during the construction of the adapter class and is stored in an instance field of the adapter.
通常这个类别的执行个体是在建构配接器类别期间执行个体化,且储存在配接器的执行个体栏位中。
In the cached-handle model, the application obtains the connection once up-front and caches a reference to it in an instance field, as illustrated in Listing 2.
在cached - handle模式中,应用程序在一开始是获得连接,然后在一个实例字段中缓存对它的引用,如清单2所示。
In this example, a extends B; however, the same error would still occur if a referenced B in any other way — as a method parameter, for example, or as an instance field.
在这个例子中,A扩展了b;但是,即使A用其他方式引用B,也会出现同样的问题——例如,以方法参数引用或作为实例字段。
This creates a field with a matching label on the design canvas and automatically binds the field to the node in the instance.
这样便创建了一个具有设计工作区上的匹配标签的字段,而且该字段也会被自动绑定到实例中的节点。
In the Host name (or IP address) field, type the IP address of your instance.
在主机名(或IP地址)字段中输入您实例的IP地址。
First, you must change the fields from individual instance variables to a hash table of field and value pairs.
首先,必须把字段从单个实例变量修改成字段和值组合构成的散列表。
It does this by examining the contents of the input data, using a specified field as a kind of key that uniquely identifies the corresponding process instance.
为此,它将使用指定的字段作为唯一标识对应流程实例的键来对输入数据的内容进行检查。
If you explicitly declare a data instance, you can use it to define default values simply by putting them inside the field elements.
如果显式地声明数据实例,可用它来定义默认值,只要将默认值放在字段元素中即可。
The input field is bound to instance data.
输入字段绑定到实例数据。
Subsequent executions, of course, will benefit from the result of patching the code so that the instance or static field, or method target, is more directly referenced.
当然,后续执行将从修补代码中获益,从而可以更直接地引用实例、静态字段或方法目标。
When an instance of the class is created, each field corresponding to a parameter in the parameter list will be initialized with the parameter automatically.
当类的一个实例被创建时,每一个参数对应的字段都会被参数自动初始化。
Shown below in Figure 5, the output card of the map Map_Choose shows the CHOOSE function, which selects the second instance of the Field element from the input message.
如图5所示,映射Map_Choose的输出卡使用了choose函数,它选择输入消息中Field元素的第二个实例。
We'll also add another attribute to Person, a role field that points to an instance from a type hierarchy.
我们会给Person加一个属性-角色,用来指定对应的实例是类型层次结构中的哪一种。
Note that if security is enabled for the SIB instance specified in the Bus name field, it is necessary to specify an authentication alias via the component-managed authentication alias.
注意,如果为Busname字段中指定的SIB实例启用了安全性,那么需要通过受组件管理的身份验证别名指定一个验证别名。
The parameters.xml file is copied in the instance in the /etc/cloud directory and can be read to extract the field value entered during the instance request.
文件parameters.xml复制到位于 /etc/cloud目录的实例中,该文件可被读取来提取需要在实例请求过程中输入的字段值。
The RolloverComposite will contain its single instance in a public static field called DEFAULT.
RolloverComposite将在叫做DEFAULT的公共静态(public static)域包含它的单个实例。
So for instance, when you declare of field of type List, somewhere in the bytecode, this information is kept in the form of some meta-information, although this field is really just of type List.
例如,当你声明了类型为List的成员变量时,这个信息是在字节码的某个地方以某种元信息的方式保存的,尽管这个成员变量确实仅仅是List类型的。
Figure 3 depicts the relationship between the Name text field on the form and the Name element of the data instance.
图3描述了表单上Name文本字段和数据实例的Name元素之间的关系。
The updated field contains the timestamp of the last update made to the instance.
updated字段包含对该实例做出的最新更新的时间戳。
The parameter is named the same as the instance attribute (field) itself, in this case title.
在title中,参数命名成与实例属性(字段)本身一样。
The template field specifies which rule template that this instance USES and the presentation field displays the presentation from the rule template.
Template字段指定该实例使用哪个规则模板,Presentation字段显示来自该规则模板中的表示形式。
Add XML tags to this file to describe the fields you want to capture during the instance request. An example of a field tag is.
为该文件增加XML标记,来描述在实例请求过程中想要捕获的字段。
The actual exception that the service throws is in the cause field of the ExecutionException instance.
服务引发的实际异常在ExecutionException实例的cause字段中。
One of the proposed fixes to the double-checked locking problem was to make the field that holds the lazily initialized instance a volatile field.
对双重检查锁定问题提出的一种修复是使包含迟缓初始化的实例的字段为一个volatile字段。
The actual field being mapped is an instance of Author, and you want to take the identifying part of that object—the id—and map it to a column called author_id.
映射的实际字段是Author实例,需要找到该对象的标识符部分 —id —并将其映射到列 author_id。
For instance, there is no limitation on field lengths, which alleviates a cause of considerable implementation difficulty in EDI and mechanical adaptations thereof.
例如,字段长度上没有限制,这就缓解了EDI中许多实现困难的起因,以及其中的机制适应问题。
If I only looked up the fields as needed, it would be easy to break a parameter definition (for instance, by mistyping the corresponding field name) without realizing that anything was wrong.
如果我只是查找需要的字段,那么就很容易破坏一个形参定义(例如,输错相应的字段名),而且还不能认识到有错误发生。
应用推荐