A class or struct may have instance fields or static fields or both.
类或结构可以拥有实例字段或静态字段,或同时拥有两者。
Unsafe buffers can only be instance fields of structs in an unsafe context.
不安全缓冲区只能是不安全上下文中的结构的实例字段。
Almost any change you make that involves a class's instance fields has some impact on serialization.
几乎所有更改都会涉及对串行化有某种影响的一个类的实例字段。
The instance can use this method, for example, to read data from a database and cache the data in the instance fields.
实例可以使用该方法,比如从数据库中读取数据,在实例字段中缓存数据。
While an instance of a class contains a separate copy of all instance fields of the class, there is only one copy of each static field.
尽管类的实例包含该类所有实例字段的单独副本,但每个静态字段只有一个副本。
Inner classes can refer to mutable instance fields if the inner-class expression occurs in an instance context, but this is not the same thing.
如果内部类表达式出现在某个实例上下文中的话,内部类可以引用可变的实例域instance field,但这不是同一回事。
You can also write contract tests on classes or aspects, where you can define tests on constructors and invariant conditions on instance fields.
也可以在类或方面上编写合约测试,在这些类或方面中可以在构造函数上定义测试,在实例字段上定义不变条件。
Without beforefieldinit, the runtime must run the type constructor at a precise time-just before the first access to static or instance fields and methods of the type.
如果没有beforefieldinit,运行库就必须在某个精确时间运行类型构造函数,即,恰好在第一次访问该类型的静态或实例字段和方法之前。
The Attributes panel shows the instance fields and values associated with the object, and the Statics panel shows the static fields and values associated with the class.
Attributes面板会显示与对象相关的实例域和值,而Statics面板会显示与类相关的静态域和值。
If the instance fields were generated from or are related to an enclosed XSD schema, Lotus Forms Designer examines the schema to determine and create the most appropriate presentation item.
如果实例字段是从一个附属的XSD模式生成的,或者与其相关联,那么LotusFormsDesigner会通过检查模式决定并创建最适当的表示条目。
The instance fields of the singleton will not be globally unique. Because several VMs are involved for what appears to be the same object, several singleton objects might be brought into existence.
原因在于多个虚拟机都可以涉及到相同的单实例类,这些单实例对象可能会同时存在于上下文中,从而导致这些单实例对象并不是全局唯一的。
Flexibility: Where data fields can vary in size and configuration from instance to instance.
灵活性:数据字段会在大小和配置方面随情况的变化而变化。
One approach to querying is to create an instance of the persistent object and populate the fields on which to search with the search criteria.
一种查询方法是,创建持久化对象的一个实例,然后填充需要用搜索条件搜索的字段。
The code snippet shown in listing 2 loads the form fields with instance values.
清单2中展示的代码片段使用实例值加载表单字段。
First, you must change the fields from individual instance variables to a hash table of field and value pairs.
首先,必须把字段从单个实例变量修改成字段和值组合构成的散列表。
Inbound messages are forwarded to the correct in-flight process instance by matching the value of one or more designated fields in the message payload to previously assigned values.
通过将消息负载中的一个或多个指定字段的值匹配到先前指定的值,入站消息可以被转发到相应的动态流程实例。
Once you define your instance data, create input fields, and bind them to that data, at least one task remains: to provide for submission of the form data to your back-end system.
定义实例数据、创建输入字段并绑定到数据之后还有一项工作:规定表单数据向后端系统的提交方式。
This is unusual because it requires a developer to create an instance of an object just to access non-instance (static) methods and fields!
这种做法并不常见,因为需要开发人员创建仅用于访问非实例(静态)方法和字段的对象的实例。
Note that the state of an instance is the union of all the values currently represented by the instance's fields.
注意,一个实例的状态就是该实例的字段所呈现的值的联合。
Early in the 20th century, the prevailing notion was that people could alter climates locally (for instance, by cutting down forests and ploughing virgin fields) but not globally.
20世纪初,普遍认为人类可以改变区域气候(比如,通过砍伐森林与开垦土地),但对于全球气候还无能为力。
Select the original process ApprovalProcess and click Start Instance. In the input fields, enter any data and click Submit, as shown in Figure 15.
选择原始流程ApprovalProcess并单击StartInstance,在输入字段输入数据并单击Submit,如图15所示。
The first line creates an instance of the Document class, which consists of a collection of fields.
首先第一行创建了类Document的一个实例,它由一个或者多个的域(Field)组成。
The stored procedures output the key fields for the explain instance that was populated in the explain tables.
存储过程会输出之前在解释表中填充的explain实例的关键字段。
The form's data is contained within the instance (more on that shortly); it includes all of the form fields as well as any necessary temporary storage.
表单的数据包含在实例(instance)(马上有更多介绍)中;它包括所有的表单字段以及任何必需的临时存储器。
TheXMLModel view gives you a preview of your XML data model, which includes the data instance, bindings (fields that you have bound to), and submissions (submission rules and actions).
xmlmodel视图提供XML数据模型的预览,包括数据实例、绑定(已经绑定的字段)和提交(提交规则和操作)。
One or more bitmaps — a message will always have a one-byte primary bitmap whose individual bits indicate which later fields are present in this particular message instance.
一个或多个位图——消息通常包含一个1字节的主位图,其中的各个位表示哪些字段将显示在这个特定消息实例中。
The GenericTemplate instance holds the basic type parameter information for the class, along with the array of fields defined for the class.
GenericTemplate实例包含类的基本类型参数信息,还有为类定义的字段的数组。
For each extracted instance, compose an IndexedRecord with the ResourceProperties (CMP fields) in the right order.
对每个提取的实例,按正确的顺序用 ResourceProperties(CMP字段)组成IndexedRecord。
An instance of an SQLObject class has all its fields available as members.
sqlobject类的实例的所有字段可用作成员。
The type attribute indicates which fields of the specified date instance are to be displayed, and should be either time, date, or both.
type属性指出要显示指定的date实例的哪些字段,应当是time、date或both。
应用推荐