图5.创建一个类类型的模板参数。
代理将为每个XML模式版本创建一个类实例。
The proxy will create one instance of a class loader for each XML schema version.
例如,可以创建一个类,通过它为所有人名设置样式。
For example, you might create a class that allows you to set all person names to a particular style.
您应该创建一个类来包含表示解析器所得数据的对象实例。
You should create a class that contains an instance of the object that contains the data from the parser.
这个转变可能就像创建一个类来表示参与者那样简单,如图4所示。
The shift could be as simple as creating a single class to represent our actor, as shown in Figure 4.
缺点是必须创建一个类,并在faces上下文中管理验证器注册。
The downside is that you do have to create another class and manage validator registration within the faces context.
首先从图像容器开始,我创建一个类ImageInfo,如清单4所示。
Starting with the image container, I create a class called ImageInfo, shown in Listing 4.
您可以创建一个类来跟踪并在数据仓库中记录这些错误,以后可以做作参考。
You can create a class to track and log these errors in a data store for future reference.
在UML之中创建模式只是创建一个类图,并应用适当的构造型,如上所述。
Creating the schema in UML is just creation of a class diagram and applying the appropriate stereotypes, as explained before.
它使用Prototype创建一个类Class . create …。
It USES Prototype for creating a class (Class.create (...)).
这样,我们会创建一个类并让设计师或程序员通过蓝图对其进行扩展。
In this case, we are going to create a class that is later extended via Blueprints by a designer or programmer.
为一组相关的dll函数创建一个类,以形成逻辑分组并减少系统开销。
Create one class for a set of related DLL functions to form logical groupings and reduce overhead.
它不是为所有的可能角色组合创建子类,而是为每个单独的角色创建一个类。
Rather than create subclasses for all the combinations of possible roles, a class is created for each individual role.
您还可以创建一个类来管理数据对象,这个对象包含您从JSON文件查询得到的所有信息。
You can also create a class to manage the data object, which will contain all the information that you retrieved from the JSON file.
在本文中,您将创建一个类,该类收集了用于查询和填充由项和值组成的词典的方法。
In this article, you will create a class that collects methods for querying and populating a dictionary of terms and values.
一开始我们创建一个类,用于读取数据库中所有Teams以及创建新的Teams。
Let's start by creating a class for reading all of the Teams in the database and for creating new Teams.
为了使用定制的painter,或者在XML中以任何方式创建一个类,可以使用标签。
To use a custom painter, or to create a class in any way in the XML, you use the tag.
case类是使scala程序员得以使用某些假设的默认值来创建一个类的一种便捷机制。
A case class is a convenience mechanism for the Scala programmer to create a class with some assumed defaults in place. For example, when writing the following.
通过扩展PasswordHandler接口,开发人员可以创建一个类来实现密码检查逻辑。
By extending the PasswordHandler interface, a developer can create a class to implement the password-checking logic.
这就意味着无论什么时候创建一个类实例,该属性(或者说类不变式)的一致性都必须得到确保。
That means that this property, the class invariant, must be satisfied whenever an instance of the class is created.
一个实例方法的执行在类的一个特定示例中有效;您在调用该类的方法之前必须创建一个类的实例。
Execution of an instance method is scoped to a particular instance of the class; you must create an instance of the class before you can invoke the method of the class.
另外,要创建一个类,但是它不支持或增强测试,因为测试实际上没有使用它们的self参数做任何事情。
Furthermore, a class is created that does not support or enhance the tests, since they do not actually use their self argument for anything.
接下来,创建一个类实例化了Automobile的类,并直接访问make属性,如清单13所示。
Next, create a class that instantiates Automobile and accesses the make field directly, as shown in Listing 13.
通过这种新的声明样式,SQLAlchemy能够在一步中创建一个数据库表、创建一个类以及类与表之间的映射。
With this new declarative style, SQLAlchemy is able to create a table in a database, create a class, and the mapping between the class and the table in one spot.
但这种方法例如如果我展示销售报告(从一个存储过程),我必须与所有查询中的列在客户端和服务器端创建一个类。
But with this method if for example I'm showing a sales report (from a stored procedure), I have to create a class with all the columns in the query in the client and the server side.
匿名类是一种语法速写标记,使您能够在需要实现某个抽象类或者接口的地方创建一个类的实例,而不需要显式提供类的名称。
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.
如果一切正常,就会在com . ibm . pd c . example . jet .gen包中创建一个类GenDAO。
If everything goes well, a new class GenDAO will be created in the com.ibm.pdc.example.jet.gen package.
在此例中,它将提供创建一个类字段i、一个局部变量i或一个方法参数i的建议;单击其中的每一个建议都会显示将要生成的代码。
In this case, it will offer to create a class field I, a local variable I, or a method parameter I; clicking each of these Suggestions will display the code that would be generated.
在此例中,它将提供创建一个类字段i、一个局部变量i或一个方法参数i的建议;单击其中的每一个建议都会显示将要生成的代码。
In this case, it will offer to create a class field I, a local variable I, or a method parameter I; clicking on each of these Suggestions will display the code that would be generated.
接下来,将创建一个类,当Sametime用户右击合作伙伴的名称并从上下文菜单中选择Partnerlookup项时,将调用该类。
Next, you create a class that is called when a Sametime user right-clicks a partner's name and selects the partner Lookup item from the context menu.
应用推荐