Each instance of a class creates a new object.
一个类的每个实例都新建一个对象。
Tests whether an object is an instance of a class.
测试对象是否为某个类的实例。
An attribute associated with an instance of a class.
实例属性:属于某个类的实例的属性。
Creating a new instance of a class is called instantiation.
创建类的新实例称为实例化。
NET creates an instance of a class that represents your page.
NET就会建立代表网页之类别的执行个体。
So, it also can be used to create a singleton instance of a class.
因此,它也可以用来创建一个类的单身实例。
Each instance of a class entity represents a row within the database table.
每一个实体类的实例代表数据库表中的一行。
Shared procedures cannot be associated with a specific instance of a class.
共用的程序无法与类别的特定执行个体产生关联。
The proxy will create one instance of a class loader for each XML schema version.
代理将为每个XML模式版本创建一个类实例。
Is it incorrect to create a new instance of a class with a static method on it?
这是不正确的创建类的新实例,静态方法吗?
In other words, you create an instance of a class which gives you an object to work with.
换句话说,你创建了类的一个实例,从而提供了一个可以操作的对象。
The first parameter is an instance of a class that implements the SensorListener interface.
第一个参数是实现 SensorListener 接口的类的实例。
You can also pass an instance of a class to a method of a class written in a different language.
还可以将一个类的实例传递到用不同的语言编写的另一个类的方法。
The object to be marshalled must be an instance of a class that's defined with a global mapping in the binding.
要数据编组的对象必须是类的一个实例,该类是用绑定中的全局映射定义的。
The instance_eval method of Object allows you to evaluate a string or block in the context of an instance of a class.
instance_eval方法,可以在一个类实例的上下文中对给定字符串或block进行求解。
There must be exactly one instance of a class, and it must be accessible to clients from a well-known access point.
必须有准确的一个类的实例,而且必须可从众所周知的接入点客户端。
Object diagrams to represent the values of attributes for a specific instance of a class and the relationship among objects.
对象关系图表示类的特定实例的属性值以及对象之间的关系。
In Listing 3, you can see that the CustomerLister constructor accepts an instance of a class that implements the CustomerFinder interface.
在清单3中,可以看到CustomerLister的构造函数接受一个实现CustomerFinder接口的类的实例。
The other way to say it is, never define a global (static global) instance of a class whose constructor or destructor may throw exceptions.
换一种说法就是永远都不要为那些其构造函数和析构函数可能抛出异常的类定义全局(静态全局)实例。
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.
尽管类的实例包含该类所有实例字段的单独副本,但每个静态字段只有一个副本。
The actual class that represents an .aspx page in action is an instance of a class that derives from Page; hence, it can call into protected methods.
真正代表一个 .aspx活动页面的类是从Page派生的一个类的实例;因此,它能够调入受保护的方法。
Listing 6 shows that the UserSearch bean is an instance of a class named org.acegisecurity.ldap.search.FilterBasedLdapUserSearch, whose constructor takes three parameters.
清单6展示了UserSearchbean是or g . acegisecurity . ldap . search .filterbasedldapusersearch类的一个实例,该类的构造函数具有三个参数。
The singleton pattern ensures that only a single instance of a class is normally used by an application, but still allows alternate instances to be created as required.
单元素模式可以确保应用程序通常只使用类的单个实例,但是仍然允许根据需要创建备用实例。
If you use this variable to pass a reference to an instance of a class, the members of the instance can be modified by the thread-pool thread and used as return values.
如果您使用这个变数将参考传回类别的执行个体,则执行绪共用执行绪可以修改执行个体的成员,并当做传回值使用。
For instance, the first tag of Listing 1 identifies a component instance named FilterChainProxy, which is an instance of a class named org.acegisecurity.util.FilterChainProxy.
比方说,清单1的第一个标记标识了名为FilterChainProxy的组件实例,它是名为or g . acegisecurity . ut il . FilterChainProxy的类的实例。
Other instances in which this pattern is useful include logging and printing, such as when you want only one instance of a class to access and control one particular printer at a time.
在其他实例中,此模式也是有用的,包括登录和打印,例如,当您想要一个能够每次访问并控制一个特别打印机的类实例。
We'll use the term instance to refer to a class instance generically, meaning either an object or an instance of a class, to avoid the potential for confusion between these two concepts.
我们会使用术语实例来称呼一个类的实例,意思是类的对象或者实例,用来避免两者之间的混淆。
We'll use the term instance to refer to a class instance generically, meaning either an object or an instance of a class, to avoid the potential for confusion between these two concepts.
我们会使用术语实例来称呼一个类的实例,意思是类的对象或者实例,用来避免两者之间的混淆。
应用推荐