Listing 5. The import statements.
清单5.import语句。
Organize the class import statements.
组织类导入语句。
Listing 1 shows all the import statements you use.
清单1显示了用到的所有导入语句。
Your class import statements should match Listing 3.
类导入语句应与清单3 中所示相符。
In Python, the way to use a module is always through import statements.
在Python里面,使用模块的方法就只有用import语句一途。
Optimizations on generation of import statements to improve code quality
导入声明生成的优化以提高代码质量
The first step in a SimPy simulation is a few general import statements.
SimPy模拟中的第一步是几个常规的导入(import)语句。
Output the class header, including import statements and boiler-plate comment.
输出类头,包括导入语句和注释。
Now, take a look at the import statements I highlighted in blue in Listing 1.
现在,查看清单1中用蓝色突出显示的import语句。
This time, you will fetch all of the import statements in the abstract syntax tree.
这一次,您可以读取抽象语法树中的所有导入声明了。
The snippet will also automatically add any project references or import statements needed.
另外,代码段还会自动添加项目引用和(命名空间)声明。
You'll also need to have Eclipse generate the import statements for the imported classes.
您还需要让Eclipse为导入类生成import语句。
Automatic configuration requires the initialization import statements as shown in Listing 6.
自动配置需要使用如图6所示的初始化import语句。
To do this, open the UML2ObjCClassRule class and add the import statements shown in Listing 10.
请打开UML2ObjCClassRule类,然后添加列表10中所示的导入语句。
Then add import statements in the DTD file to bring in the mapping module and any ancestor modules.
然后在DTD文档中添加导入语句以引入映射模块和任何父模块。
These steps include changes to the import statements and the renaming and restructuring of methods.
这些步骤包含对import声明的更改和方法的重构和重命名。
Look at the import statements; there's no import statement for RideManagerRemote (and yes, it does compile!).
看一下import语句;这里没有针对RideManagerRemote的import语句(但是,它却可以通过编译)。
Before I dive into describing the import statements, let me make the distinction between an import and an include.
在深入描述import语句之前,让我们先来比较一下import和include之间的区别。
The class includes all of the import statements you'll need, as well as variables representing the needed namespaces.
类包含了所有需要的导入语句和表示名称空间的变量。
The first three import statements declare the UML2 model, the Modeler XML schema, and the EMF Ecore model, respectively.
前三个import语句分别声明uml2模型、ModelerXML模式和EMFEcore模型。
An RDL file begins with a series of import statements, used to declare the EMF packages that will be involved in the transformation.
RDL文件以一系列导入陈述开始,它们被用来声明转换中涉及的EMF包。
If you import statements to a script that already contains SQL statements, the imported statements are bracketed with comment lines, as shown in Figure 10.
如果您将语句导入到一个已经包含sql语句的脚本中,那么导入的语句会被注释掉,如图10所示。
The class is moved to the new package physically, and all references to it in the code - such as import statements - are changed to refer to its new location.
该类将被物理地移到新包中,并且代码中对它的所有引用—例如import语句—将改为引用其新位置。
That is, python source code is compiled by the python command to bytecode in exactly the same manner as before (except for a couple import statements and function calls added to invoke Psyco).
也就是说,python源代码是通过python命令编译成字节码的,所用的方式和以前完全相同(除了为调用Psyco而添加的几个import语句和函数调用)。
Now that we have a skeleton class for our mediation we can begin to populate it with code, starting with a package and some import statements that we will make use of later (see Listing 1 below).
现在,我们已经获得了中介的框架类,接下来可以开始对其填充代码了,请首先添加我们将稍后使用的包和一些导入语句(请参见下面的清单1)。
Populating the database with XML data using INSERT and IMPORT statements.
使用INSERT和import语句,用XML数据填充数据库。
Populating the database with XML data using INSERT and IMPORT statements.
使用INSERT和import语句,用XML数据填充数据库。
应用推荐