上面的代码看起来很熟悉,不是吗?
我们要将上面的代码转换为以下格式。
上面的代码显示了已执行的下列更改。
上面的代码相当简洁,所以我逐行来说明它的功能。
The above code is quite terse, so I'll go over what it does line by line.
上面的代码包含了必要的模块并定义了变量。
The code above includes necessary modules and defines variables.
从上面的代码,我们知道了如何在视图页面中渲染图表?
From the above code, we understand the following as the steps involved to render the chart in the view page.
上面的代码重新访问了 AppContext配置类。
根据上面的代码表,12月是6、2008年是2。
在上面的代码中,创建了一个表格对象,t,它有三列、两行。
In the code above, we create a table object, t, with three columns and two rows.
上面的代码是一个单行语句,但是为了适合这个格式进行了缩排。
The code above is a single line statement, but had to be indented to fit this format.
在上面的代码片段中,我们检查是否有预期的用户角色。
In the above code snippet, we check for the expected user role.
上面的代码在64位系统上会失败,它只会显示低4字节的内容。
The above code snippet will fail on 64-bit systems and will display only the lower 4 bytes.
上面的代码在意义上类似于前面讨论的EJB环境参数。
The above code is similar in meaning to the EJB environment parameters, discussed earlier.
接下来解释上面的代码是如何解决之前遇到的那些问题的
The following is an explanation of how the desired features were implemented
就像你看到的,上面的代码用三段字串组成了一个完整的SQL查询语句。
As you can see, the above code combines three tokens to generate a complete SQL query.
上面的代码会在DataSource配置对象中生成下面的xml片断。
The code above generates the following XML fragment in the DataSource config object.
比方说,在上面的代码中我们用“- D”这一命令行选项来定义名-值对。
For example, in the code above we used -d "for the command line option defining a name-value pair."
在上面的代码片断,编译器会警告你没有导出基类和类的数据成员。
In the above code snippet, the compiler will warn you about the not exported base class and the not exported class of the data member.
上面的代码会创建一个表,表中有文档描述和检查文档时输入的注释。
The code above creates a table with the document's description and the comment entered when the document was checked in.
不过,若你是用容器来保存对象的指针,上面的代码需要做如下修改。
However, if you are storing Pointers into the container, then the previous code fragment has to be modified to the following.
上面的代码说明了变量person中存放的值是Object类型的。
The above code indicates that the value held by the variable person is of type Object.
上面的代码行将为您提供字段名的排序后的频率分布,类似以下清单所示。
The above line will give you a sorted frequency distribution of your field names, similar to the following.
上面的代码片段实现了之前的PayrollDataService接口。
The above snippet implements the former PayrollDataService interface.
上面的代码首先使用缺省的构造器创建一个新InitialContext。
This code first creates a new InitialContext using the default constructor.
上面的代码定义了以下rake任务,用rake- T可以得到以下描述。
And that code defined the following rake tasks, as described by running rake -t.
将上面的代码保存到文件myenv . c中,然后发出以下命令进行编译。
Save the above source into a file called myenv.c, and then compile it by issuing the command.
通过执行上面的代码,我收集到了需要传送给Axis的端口名称和服务名称。
By executing the above code I have gleaned the port name and service name that I need to pass to Axis.
在上面的代码中,请注意,不能只是将String包装在直接ByteBuffer中。
In the code above, notice that you can't just wrap the String into a direct ByteBuffer.
当然,上面的代码是无意义的,但其结构很常见,因此,可以用它来说明这个问题。
The code above is, of course, nonsense, but its structure is common, so it shall serve to illustrate the point.
如果您想在一个字符序列中多次匹配一个模式,上面的代码片段是一个很好的起点。
If you want to match a pattern multiple times within a character sequence, the above code snippets are a good place to start.
应用推荐