首先,在模型浏览器中创建一个类。
这样可以在概要文件中创建一个类图。
甚至不必创建一个类。
创建一个类,扩展uicomponent。
因此我决定创建一个类方法来封装上面的行为。
I decided to create a class method that would encapsulate the above behavior.
图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.
下一步,创建一个类,用来表示model中的颜色。
Next, creating a simple class to represent the colors coming from the model.
您可以创建一个类来记录这些异常,作为以后参考之用。
You can create a class to log the exceptions for future reference.
因此,它也可以用来创建一个类的单身实例。
So, it also can be used to create a singleton instance of a class.
您应该创建一个类来包含表示解析器所得数据的对象实例。
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 (...)).
为一组相关的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.
应用推荐