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创建新类的所有实例的基础。
The class object gives you all the basic hooks for reflection access to the class metadata.
Class对象为您提供接入类元数据的反射的所有基本hook。
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类对象。
It takes a XML file and loads its contents into a class object included with the project.
它打开一个XML文件,并将它的内容载入到项目包括的一个类对象中。
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,搜索代码以引用它可能不太容易。
A member declared as static can not be accessed with an instantiated class object (though a static method can).
一个成员声明为static,那么他是不可以被这个类的实例来访问的(虽然静态方法可以)。
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类对象的形式返回结果,其中数据库表的列名作为对象的属性。
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类对象中设置的。
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对象。
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.
类的对象:包含了用户自定义类型相关信息的一个对象。可以用于创建类的一个实例。
Static synchronization employs the lock possessed by the class object associated with the class the static methods are declared in.
静态同步使用的是静态方法锁声明的类对象所拥有的锁。
No modifications to your Test classes are needed; the harness constructs a suite as if you had explicitly coded each class object into the suite.
不需要修改test类,装具模块将构建一个包,就像您显式将每一个Class对象编写到包中一样。
Access to such a field must be carefully controlled and requires advanced programming techniques for synchronizing access to the class object.
必须严格控制对这类字段的访问,并需要高级编程技术来同步对类对象的访问。
In your given example program1, display method is defined in both base and sub classes and you are trying to invoke it with the sub class object.
在你给的例子程序1,显示的方法是在基站和子类的定义和你试图调用它的子类对象。
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 型。
It is important to note that the sample servlet passes the database user ID and password as parameters when the DBController class object is instantiated.
重要的是,请注意实例化dbcontroller类对象时,示例servlet将数据库用户ID和密码作为参数进行传递。
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类的一个实例,其中包含了计算结果。
You can still enforce a attribute value using a metaclass, you just need to set it on the class object being instantiated rather than as an attribute of the metaclass.
您仍然可以使用元类来增强属性,只需在被实例化的类对象上进行设置,而不是像元类的属性那样。
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.
在后面一种情况中,同一时间只会有一个线程可以执行这个类方法,因为对于所有的调用者来说,都只有一个类对象可被使用。
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对象提供的,同时提供的还有映射值的类型(在该例中,它只是一个简单的字符串)。
应用推荐