Now add an attribute to the class and name it left. Set its Type to Node.
现在为一个类填加一个属性并将其命名为left,设其值Type 为Node。
This command will create a bot on the given team with the specified class and name. If team or name is omitted, they will be assigned randomly.
使用这个指令时会为服务器中添加一个机器人,如果没有明确参数设定时,机器人则会随机选择的兵种与团队。
And from these, notice the name of the class and the name and type of each attribute.
从这些标记中,我们可以看出类名和每个属性的名字与类型。
For a single class, you can define the name of the class, its attributes, and its operations.
对于一个单独的类,你可以定义类的名字,属性和操作。
On the next screen, modify the proposed plug-in name (if desired) and plug-in class name and specify a provider name.
在下一个屏幕上,修改建议的插件名称(如果想这样做的话)和插件类名称,并指定一个提供者名称。
When you have added the definition for the factory, you get a text item with the fully qualified package and class name for it.
添加了工厂的定义之后,您将获得一个文本项,其中包含工厂的完全限定包和类名。
This function then determines if the element already has the class name highlight, and removes or adds based on its findings.
该函数会判断元素是否已经高亮显示了类名,并根据查找结果执行添加或删除。
A list of all classes in the project's build path that match that pattern are presented in a list, from which you can select the class and package name you want to use.
将在一个列表中显示与该模式匹配的项目构建路径中的所有类,您可以从此列表中选择您希望使用的类名称和包名称。
Listing 4 shows this code, in the form of an application that takes a pair of command-line arguments giving the class name and method name to be timed.
清单4展示了该代码,它是一个带有两个命令行参数的应用程序,这两个参数分别给出类名和要计时的方法名。
The scope resolution operator should sit between the class name and the static property you wish to access.
范围解析操作符应位于类名和希望访问的静态属性之间。
This class provides a handy factory for taking a class name and then generating an instance of the provided class.
这个类提供了一种方便的方式,它选取一个类名,然后生成所提供的类的实例。
During which it adds user defined properties, and finds the main class name.
在这个过程中,它可以添加用户定义的属性,找到主类名。
Note that this same class, with changes for package name and class name, can be used in each of your GAE projects.
注意,这个相同的类,只要更改包名和类名,就可以在您的每个GAE项目中使用。
Create the full-size application's organizational package, interface, and class structure, even if the files do nothing more than declare the class name and the interface it implements initially.
创建完整大小应用程序的组织包、界面和类结构,即使这些文件的作用只是声明最初实现的类名称和接口。
In that article, we just passed the class and method name as command-line parameters to my program, which loaded the binary class file, added the timing code, then wrote the class back out.
在该文中,我们只是将类和方法名称作为参数传递给程序,程序加载二进制类文件,添加定时代码,然后写回该类。
For example, if the shape's underlying element is a class and the class is renamed, the name in the diagram element will update automatically.
例如,如果形状的元素是一个类,而该类进行重命名时,图表元素中的名字将会得到自动更新。
The implementation class name and class path you see are the default for the DB2 JDBC provider.
您看到的实现类名和类路径都是DB 2JDBC提供程序所默认的。
A class loaded by a class loader instance is uniquely identified by that class loaders namespace and the class name.
类加载器实例加载的类由加载器的名称空间和类名惟一标识。
This annotation performs the actual mapping between the class name and the table in the underlying database.
该标注执行类名与底层数据库表之间的实际映射。
The standard processing for loading a JDBC driver requires two items: the driver's class name and the JDBC URL of the database that's targeted for connection.
载入JDBC驱动程序的标准过程需要两项:驱动程序的类名和连接的目标数据库的JDBCURL。
The application component which is responsible for the memory leak is often identified by the package name and class name of the data types which are part of growing regions.
导致内存泄漏的应用程序组件通常由构成增长区域的数据类型的包名称和类名称标识。
And employee, last, and name are prime word, modifier, and class word defined in the glossary model, an object employee last name has a valid name.
而且,employee、last和name是术语表模型中定义的基本单词、修饰词和类单词,那么employee last name这个对象名称就是有效的。
The rectangle is the symbol for a class and is divided into three parts: class name, attributes, and methods.
矩形是表示类的符号,被分成三个部分:类名、属性以及方法。
Substitute the package name and class name, shown in Figure 38, with the text shown in Listing 6.
如图38所示,使用清单6中的文本替换包名和类名。
And the following syntax for selecting by tag and class name.
以下语法用于根据标记和类名选取元素。
Thus, in Listing 2, I issue a call to get with the underlying User class and the desired name.
因此在清单2中,我使用基础的user类和所需的名称发出一个get调用。
The ScaTestExecutor constructor takes the test class and the name of the test as parameters.
ScaTestExecutor构造函数将测试类和测试的名称作为参数。
Ruby opens a class and adds a method with the name and body you provide to the Dog class.
Ruby打开一个类并添加一个带有您提供给dog类的名称及主体的方法。
The compensationMap attribute contains a preloaded list of all activities (by name) and the corresponding class and method (by name) of the reversing activity.
compensationmap属性包含预先加载的所有活动的列表(按名称排列)以及相应的反转活动的类和方法(按名称排列)。
It USES the class name Date, which is a fairly generic class name and could very well exist in other places in our code.
它使用类名Date,这是一个非常通用的类名,并且可以很好地切入到代码中的其他位置。
应用推荐