测试对象是否为某个类的实例。
实例属性:属于某个类的实例的属性。
按角色分组(实例:实现了与某个用户角色交互的类)。
Grouping by actor (example: the classes that implement the interaction with some user role).
与实例变量不同的是,类变量与该类所有的对象关联在一起而非某个特定的对象。
Unlike instance variables, class variables are associated with all objects of a particular class and not with individual objects.
这个称为“DCS工厂类”的类帮助获取适当转换器的实例以便执行某个特定的转换。
This class, called the DCS Factory class, helps get the instance of the appropriate convertor for a particular conversion.
匿名类是一种语法速写标记,使您能够在需要实现某个抽象类或者接口的地方创建一个类的实例,而不需要显式提供类的名称。
An anonymous class is a kind of syntactic shorthand that lets you instantiate a class implementing an abstract class or interface where you need it, without having to explicitly give it a class name.
EMC允许您将方法添加到某个类的单一实例或所有实例中。
The EMC allows you to add methods to either a single instance or all instances of a particular class.
例如,一个JVM实例可能从磁盘的某个特定位置加载类,而后面一个实例可能从不同的位置甚至网络加载该类。
For example, one JVM instance might load a class from a particular location from disk, and a subsequent instance might load that class from a different location or even over the network.
举例而言,如果要在某个邮件应用程序中显示50条邮件消息,那么需要多少个mailmessage类的实例?
For example, if I'm displaying 50 mail messages in an E-mail application, how many instances of the MailMessage class would I expect?
您需要StockQuoteProxy类的一个实例(或bean),选择Palette 中的 ,并将其拖到设计图面上的表格之前的某个位置。
You need an instance of the StockQuoteProxy class (or bean). Select in the Palette, and drop it on the design surface somewhere before the table.
如果已经对某个类实例进行了pickle,而现在又需要更改这个类,则您可能要检索和更新那些实例,以便它们能在新的类定义下继续正常工作。
If you've already pickled instances of a class that needs changing, you'll likely want to retrieve and update those instances so that they continue to function properly with the new class definition.
在get方法中,如果某个bean的实例没有在当前操作类实例中设置,那么应该从会话返回那个bean。
Inside the get method, a bean should be returned from the session if its instance is not set in the current action class instance.
要利用类提供的清晰接口,需要知道您的对象实际上是Dictionary的一个实例,而不是某个imposter。
To take advantage of the clear interface offered by a class, you need to know your object is actually an instance of Dictionary and not some imposter.
我们可以采用延迟去定义一些契约,用抓取来改善性能,对某特定类的某个脱管的实例,知道有哪些数据是可以使用的。
We use fetch to tune performance. We may use lazy to define a contract for what data is always available in any detached instance of a particular class.
每当使用默认构造函数创建某个托管对称加密类的新实例时,都将自动创建新的密钥和IV。
Whenever you create a new instance of one of the managed symmetric cryptographic classes using the default constructor, a new key and IV are automatically created.
如果客户端代码尝试使用某个约束所不允许的类型来实例化类,则会产生编译时错误。
If client code tries to instantiate your class by using a type that is not allowed by a constraint, the result is a compile-time error.
静态构造函数在程序开始和类实例化之间的某个时刻调用。
Static constructors are called at some point between when the program starts and the class is instantiated.
如果某个类设计了实例成员,则该类不应标记为静态的。
If the design of a class suggests that there should be instance members, the class should not be marked static.
如果某个类设计了实例成员,则该类不应标记为静态的。
If the design of a class suggests that there should be instance members, the class should not be marked static.
应用推荐