To solve this problem, create a separate class for each variable you need to save, naming the class as the variable name you need to reference in subsequent tests.
为了解决这个问题,为您需要保存的每一个变量创建一个单独的类,给类命的名要参考在随后的测试中您需要应用的变量名。
As noted earlier, if a class name begins with an underscore, it has no corresponding XML tag.
正如前面提到的,如果类名以一个下划线开始,那么它就没有相对应的XML标记。
As each anonymous class has a unique name there are no issues loading it and as a result the application is updated on-the-fly.
因为每个匿名类都有一个唯一的名称,因此在加载该类是不会有问题的,而这样做的结果是,应用被实时动态地更新了。
Create a custom class with the same name as the enumeration name.
创建一个定制类,使其名称与枚举名称相同。
This is good in case this class name is used for other widgets as well.
对于该类名与其他小部件的类名重复的情况,就更应如此了。
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.
在该文中,我们只是将类和方法名称作为参数传递给程序,程序加载二进制类文件,添加定时代码,然后写回该类。
When one of these methods is invoked, the class whose name is specified as an argument is loaded by the class loader.
当调用其中一个方法的时候,指定的类(以类名为参数)由类装入器装入。
In this case, the class name is implicitly used as a key.
在这一情况中,类名隐式地用作一个键。
A UML operation representing a constructor is given the same name as its parent class or structure name.
表示构造方法的UML操作有和其母体类或结构名相同的名字。
The object repository file for a class has the same name as the class.
某个类的对象存储库文件名称与该类名称相同。
These variables are called class variables and, as their name suggests, are defined at the level of the class rather than at the level of a method.
这种变量被称为类变量,顾名思义,该类型的变量在类的级别定义而非方法的级别。
You could optionally specify the name of the table for the class, or implement the convention where you use the same name as the class.
可以选择指定类的表名,或者在使用与类相同的名称时实现约定。
Putting the class name as a prefix to the method name indicates that the method is a class method.
将类名作为方法名的前缀来指示该方法是类的方法。
Whereas the singleton implementation uses the subclass's class name, other patterns (such as active record, covered later) need to reference other static properties.
尽管单例实现使用的是子类的类名,其他的模式(比如稍后介绍的活动记录模式)需要引用其他的静态属性。
Enter the package name and the class name as shown in Figure 2.
输入包名和类名,如图2所示。
Type the package name and the name of the class, as shown in Figure 1.
输入包名和类名,如图1所示。
The ScaTestExecutor constructor takes the test class and the name of the test as parameters.
ScaTestExecutor构造函数将测试类和测试的名称作为参数。
Thus, n1 is appropriate as the name of a variable, and HelloProgram is appropriate as the name of a class.
因此,n1比较合适用来作为变量的名字,而HelloProgram就适合用作类的名字。
Name of the Native language class to act as the deserializer
充当反序列化器的“本机”语言类名称
In the dialog box that appears, type Hello as the class name.
在随后出现的对话框中,键入Hello作为类名称。
In the dialog box that appears, type "Hello" as the class name.
在随后出现的对话框中,键入“Hello”作为类名称。
You can give it a name (that is, a class name), specify parameters (as in a constructor), and even use the .this keyword, which basically means referencing a variable within the scope of the function.
可以给其一个名称(也就是一个类名),指定参数(和在构造函数中一样),甚至可以使用关键字 .this,这意味着在函数范围内引用变量。
This class takes a name as a parameter and returns the name with Hello tacked onto the beginning of the name.
上面这个类接收一个作为参数的name,在 name 的前面加上Hello,然后返回这个 name。
Another useful addition is the SplFixedArray class, which, as the name implies, is a fixed-size array implementation.
另一个有用的补充是splfixedarray类,顾名思义,这是一个固定大小的数组实现。
The class One2OneChannel, as the name indicates, implements a "single-writer-single-reader" type channel.
类One2OneChannel,顾名思义,实现了“单一写入器/单一阅读器”类型的通道。
Rather than use IDs, you could use a class name or as is commonly used in lightbox scripts, the rel attribute (see Listing 10).
不要使用IDs,而是使用一个类名;或者使用rel属性(见清单10),就像lightbox脚本中常用的那样。
To access an Individual from the database, simply specify the class name in your HQL query, as shown in Listing 5.
要想访问数据库中的Individual,只需在HQL查询中指定类名即可,如清单5所示。
The Contact class will contain name and phone as its member fields.
contact类将包含name和phone作为其成员字段。
We used the fully qualified class name (com.devworks.example.map.MapLookupDelegate) as our unique ID.
我们使用完全限定类名(com . devworks . example . map . MapLookup)作为惟一id。
We used the fully qualified class name (com.devworks.example.map.DirectionsLookupDelegate) as our unique ID.
我们使用完全限定类名(com.devworks.example.map.DirectionsLookup)作为惟一ID。
应用推荐