在构造器中注册属性。
该构造器还调用一个方法来加载一些配置属性。
The constructor also invokes a method to load some configuration properties.
注意,这里向构造器提供了静态配置信息:用户名、密码和属性。
Notice that the constructor is given static configuration information: the username, password, and properties.
构造器会为类提供一个名称,和初始化每一个类的实现的属性。
Constructor provides the name for the Class and initializes the properties which can be different in every instance of the Class.
其构造函数含有两个参数:初始化属性和预配置的记录器(logger)实例。
Its constructor takes two arguments: initialization properties and a pre-configured logger instance. Properties object contains the following.
暴露属性、构造器、操作、参数和通知。
Exposes attribute, constructors, operations, parameters, and notifications.
清单1是一个只有一个构造方法和六个属性的小例子,但其代码却填满了浏览器的整个页面!
Whew! Listing 1 is a small example with only one constructor and six properties, but the code comes close to filling the entire page of a browser! Listing 2 shows the same JavaBean defined in groovy.
在这种情况下,您可能会缺少用于修改字段属性的setter方法,相反,您依靠构造器来设置这些值。
In this case, you might lack setter methods to modify field properties and, instead, rely on constructors to set these values.
我们还为KeyedReference类提供了一个新的构造器,允许提供keyedreference类的全部属性来构造这个类。
A new constructor has also been provided for the KeyedReference class to allow it to be constructed by supplying all its attributes.
这些属性可以作为系统属性来指定,如果需要,还可以在属性对象中设置它们,并传送到新构造器的UDDIProxy。
These properties can be specified as system properties or, if needed, they can be set within a properties object and passed to UDDIProxy in a new constructor.
通常这些稳定的类型规则被放在非默认的构造器(Constructor)和只有Getter的属性(Property)里。
The usually rules for immutable types were put into place such as no default constructors and only getters for properties.
Prototype对象与构造器有关,prototype对象里定义的任何属性都被每个由于构造器实例化的对象所继承。
The prototype object for Rectangle is associated with its constructor and any properties defined by the prototype object are inherited by each and every object created using the constructor.
将属性约简算法和支持向量机增量训练算法相结合,构造基于粗糙集数据预处理的支持向量机分类器。
To combine the attribute reduction algorithm and the incremental training algorithm of support vector machine, a support vector machine classifier based on rough set is constructed.
基类访问只能在构造函数、实例方法或实例属性访问器中进行。
A base class access is permitted only in a constructor, an instance method, or an instance property accessor.
线程越界访问可以简单的通过执行一个方法、构造器、或者在Types.dll中实现的一个类型(比如CoolType类型)的属性。
The thread crosses this boundary simply by calling into a method, constructor, or property in a type (such as CoolType) implemented in Types. DLL.
线程越界访问可以简单的通过执行一个方法、构造器、或者在Types.dll中实现的一个类型(比如CoolType类型)的属性。
The thread crosses this boundary simply by calling into a method, constructor, or property in a type (such as CoolType) implemented in Types. DLL.
应用推荐