This code is almost identical to the database version, with some changed file and class names.
这段代码几乎与数据库版本完全相同,只是修改了文件名和类名。
For these levels, the respective tool is able to provide a list of changes at some granularity, whether that is file, package, class, or some finer category.
对于这些层次,个别的工具能够提供某种粒度上的一系列变更,不论是文件、包、类或某些更细粒度的类别。
Combining annotations with class file modification can provide a way out of this dilemma.
把注释与类文件修改组合起来可以提供一种走出这一困境的方法。
If you choose to replicate this structure, you can re-use the batch file and class paths mentioned later or choose to go with your own strategy.
如果您选择复制这个结构,可以重用稍后提到的批处理文件和类路径,也可以选择使用您自己的策略。
However, I find it easier to create the class file first, with some empty methods, and then create the test file.
然而,我发觉首先创建带有一些空方法的类文件,然后生成测试文件是很容易的。
As I covered in the last column, signatures are an item added to the class file format by generics; only references to generic types have signatures.
正如我在前一期中介绍的,签名是泛型添加到类文件格式中的项目;只有对泛型的引用才有签名。
This could occur if the bytecodes had been deliberately hacked, for example, or if an error had occurred when transferring the class file over a network.
例如,如果对字节码故意做了更改,或者在通过网络传送类文件时现出了错误,那么就可能发生这个异常。
The descriptor points to the implementation of the component, in this case a class file, and also includes any configuration information that the component needs.
描述符指向组件的实现,在这种情况下是一个类文件,还包含组件需要的任何配置信息。
So our file table content provider class looks like Listing 8.
因此我们的文件表内容提供程序类与清单8 类似。
If you try to print or view a class file as text, you'll generally see many strings of this type, each a reference to some class.
如果您尝试将一个类文件作为文本输出或查看,那么通常会看到上述形式的多个字符串,每个字符串都是对某个类的引用。
By defining a CSS class in a linked file and applying the class in HTML to an element, you can further decouple the presentation and content.
通过在一个链接的文件中定义css类并将该html格式的类应用到元素上,可以进一步削弱表示方法与内容之间的关系。
And it is generally not a good idea to manually modify the generated class file for a typed DataSet.
而且对类型化数据集来说,手动修改生成的类文件通常不是一个好主意。
Other versions (newer and older) may work, but the location of the required class file within it may have changed.
其他版本(更新版本和更旧版本)也可以运行,但它所需的各类文件的位置会发生改变。
With J2SE 1.3, this can be done just by including the appropriate JAR file in the user class path.
使用J2SE 1.3,只要在用户类路径中包含合适的JAR文件就可以解决该问题。
The bytecode that makes up the executable portion of the class file is actually machine code for a special kind of computer — the JVM.
构成类文件可执行部分的字节码实际上是针对特定类型的计算机—jvm—的机器码。
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.
在该文中,我们只是将类和方法名称作为参数传递给程序,程序加载二进制类文件,添加定时代码,然后写回该类。
Another option is to package your class file into a JAR file, and deploy the JAR file.
另一个办法是将类文件打包到JAR文件中,并且部署JAR文件。
Even building a JAR file from the class files doesn't change this — the JAR is just a container for the class files.
即使从类文件构建JAR文件也不会改变这一点—jar只是类文件的容器。
A partial method is usually defined in a partial class file and is optionally implemented in the regular class file.
分部方法通常被定义在一个分部类中,在常规的类文件中也可实现。
Use the annotation as indicated, but then discard it in the compiled class file.
按照规定使用注释,但是并不将它保留到编译后的类文件中。
Retain the annotation in the compiled class file, but ignore it at runtime.
将注释保留在编译后的类文件中,但是在运行时忽略它。
Each time you change a file, class, or method, Eclipse records the change in its local history.
每次您更改文件、类或方法,Eclipse 都会在其本地历史记录中记录更改。
These can be references to the file system, class path, source code control system, or Web URLs.
它们可以是对文件系统、类路径、源代码管理系统或WebURL的引用。
The actual class file modifications are done by a JiBX component called the binding compiler.
实际的类文件修改是由称为绑定编译器的JiBX组件完成的。
Line coverage: the percentage of lines covered in the class file.
行覆盖率:类文件中覆盖的行百分比。
If you don't know which jar file the class is in you can check with this command.
如果不知道类位于哪个jar文件中,可以用以下命令来检查。
To deploy the service, copy the class file into c: \ jakarta-tomcat-4.1.30 \ webapps \ axis \ WEB-INF \ classes.
为了部署该服务,请将类文件复制到c: \jakarta - tomcat - 4.1.30 \webapps \axis \web - INF \ classes中。
Retain the annotation in the compiled class file of the annotated class, and read it when the class first loads.
将注释保留在编译后的类文件中,并在第一次加载类时读取它。
Listing 5 shows the implementation file for the MegaLottery class.
清单5显示了megalottery类的实现文件。
Listing 7 shows the implementation file for the LotteryFactory class.
清单7显示了LotteryFactory类的实现文件。
应用推荐