Listing 2 shows how to set the redaction attributes for this class object.
清单2显示了如何设置这个类对象的编校属性。
The RedactionAttributes class object specifies how to redact the document.
RedactionAttributes类对象指定如何编校文档。
This class object becomes the basis for all instances of the new class created by the JVM.
这个Class对象成了JVM创建新类的所有实例的基础。
Within the JVM, the loading process gives a very basic memory structure to the class object.
在JVM中,装入阶段为类对象提供了非常基本的内存结构。
The getRepositoryDocument() method gets the actual document data, the Document class object.
getRepositoryDocument()方法可以获取实际的文档数据,即Document类对象。
The class object is internally created and used by the page parser when parsing a mobile control.
该类对象是内部创建的,供页分析器在分析移动控件时使用。
A holder class is a LotusScript class object derived from the INOUT_HOLDER class (as defined in lsxsd.lss).
holder类是一个派生自inout _ holder类的LotusScript类对象(如lsxsd . lss中定义的那样)。
This synchronized code block acquires the lock associated with the customer class object before it executes.
同步的代码块在执行之前需要与客户类对象相关的锁。
For example, if the lock object is of class object, it may not be easy to search the code for references to it.
例如,如果锁对象的类别是Object,搜索代码以引用它可能不太容易。
If a class method is called for a derived class, the derived class object is passed as the implied first argument.
如一个类方法被派生类调用,派生类对象将被隐含的做为第一个参数传递。
In another case, it can return the results as a PHP class object, where the database column names are the object properties.
在另一种情况下,它可以以php类对象的形式返回结果,其中数据库表的列名作为对象的属性。
Returns the class object associated with the class or interface with the given string name, using the given class loader.
使用指定的类加载器返回指定字符串名称的类或接口的Class对象。
An attribute associated with a class object. Class attributes are defined inside a class definition but outside any method.
类的属性:属于某个类的对象的属性。类的属性都在类定义的内部,在类内方法之外。
The binary data for the document, the documentAttributes instance, and the document status are set in the Document class object.
文档的二进制数据、documentAttributes实例和文档状态是在Document类对象中设置的。
Returns a field object that reflects the specified declared field of the class or interface represented by this class object.
返回一个Field对象,该对象反映此Class对象所表示的类或接口的指定已声明字段。
This is often a class object which holds a static reference; for example, the MyClass object in the memory leak example in Listing 1.
这通常是一个保留静态引用的类对象;例如,清单1的内存泄漏示例中的MyClass对象。
Returns an array of field objects reflecting all the fields declared by the class or interface represented by this class object.
返回一field对象数组,映射该Class对象表示的类或接口中声明的所有域。
The document class object is used to set the information about the input document and to get the information in the redacted document.
document类对象用于设置与输入文档相关的信息,获取已编校文档中的信息。
You can take a similar approach to synchronize the class methods of the associated class, using the class object instead of self.
与此类似,你可以使用类对象为相关类的类方法进行同步保护。
An object that contains information about a programmer-defined type. The class object can be used to create instances of the type.
类的对象:包含了用户自定义类型相关信息的一个对象。可以用于创建类的一个实例。
Access to such a field must be carefully controlled and requires advanced programming techniques for synchronizing access to the class object.
必须严格控制对这类字段的访问,并需要高级编程技术来同步对类对象的访问。
Returns an array containing field objects reflecting all the accessible public fields of the class or interface represented by this class object.
返回一field对象数组,映射该Class对象表示的类或接口中的所有可访问公共域。
A friend function named spacefriend, which is a friend of class space, and which takes the class object as an argument and prints the value of its variable x.
名为spacefriend的友元函数,它是space类的友元,它的参数是类对象,输出类对象的x变量的值。
The result returns a Boolean object with value false if the computation is not complete; otherwise, it returns an instance of class object, which contains the result.
如果计算没有完成,结果返回一个值为false的Boolean对象;否则,将返回object类的一个实例,其中包含了计算结果。
In the latter case, of course, only one thread at a time is allowed to execute a class method because there is only one class object that is Shared by all callers.
在后面一种情况中,同一时间只会有一个线程可以执行这个类方法,因为对于所有的调用者来说,都只有一个类对象可被使用。
Class instantiation USES function notation. Just pretend that the class object is a parameterless function that returns a new instance of the class. For example (assuming the above class).
类的实例化使用函数符号。只要将类对象看作是一个返回新的类实例的无参数函数即可。例如(假设沿用前面的类)。
The getProperty method returns an instance of the class Object, so you must cast the result into the appropriate type, which, in this case, is a string.
getProperty方法返回Object类的一个实例,因此您必须把结果转换成合适的类型,在本例中是 string 型。
Also, an enumerated type is supplied via its Class object, along with the type of the Map's values (in this case, simple strings). The output of this method is shown in Listing 11.
而且,枚举值是通过其Class对象提供的,同时提供的还有映射值的类型(在该例中,它只是一个简单的字符串)。
If we place no explicit bound on the parameter, then by default the bound is Object, meaning that we can't call any methods on an instance of the bound that don't appear in class Object.
如果没有对参数设定显式的范围,那么缺省情况下范围是Object,这意味着我们不能调用范围实例在Object中未曾出现的任何方法。
First we introduce a new method of coding class-object to make it suitable for genetic operations.
首先设计了一种新的类对象编码方法,使其能够适合于遗传操作。
应用推荐