修改后的代码如清单8 所示。
使用Joda,代码如清单2所示。
然后编辑类,代码如列表1 所示。
创建Ami列表的代码如清单3所示。
采用这一选项生成的代码如列表10中所示。
The code generated with this option looks like that in Listing 10.
EJB接口的代码如清单1所示。
代码如清单4所示。
在和段落中完成的代码如列表8所示。
The finished code within the and sections is as shown in Listing 8.
boardview类的代码如清单11所示。
为这一uml模型所生成的代码如列表9中所示。
The code generated for this UML model looks like that in Listing 9.
将用该元素的数据填充明细表单,代码如清单6。
The details form will be filled with the data of this element using the code in Listing 6.
解释服务器响应的代码如清单14所示。
The code for interpreting the server response is shown in Listing 14.
代码如清单9所示。
填充flextable的代码如清单2所示。
The code for the populating the FlexTable is shown in Listing 2.
最终得到的内容区HTML代码如清单10所示。
The resulting HTML code for the content area looks like what is shown in Listing 10.
最终得到的内容区HTML代码如清单12所示。
The resulting HTML code for the content area would look like the code in Listing 12.
将Comet事件传递给处理函数机制的代码如清单5所示。
The code to pass Comet events to such a handler mechanism may look like Listing 5.
在头文件中为该虚函数所生成的代码如列表2中所示。
The code generated for the virtual function in a header file is shown in Listing 2.
简化算法。代码如恶魔,在你完成编码后,应回头并且优化它。
Simplify the algorithm - Code like a fiend, but once you're done, go back through your code and optimize it.
代码如清单2(为清楚起见,已删除了日志消息)所示。
The code is shown in Listing 2 (log messages have been removed for clarity).
作为对照,查询同样信息的纯DOM搜索代码如清单1所示。
By contrast, a pure DOM search for that same information would look something like Listing 1.
第一行要注意的代码尚未多加讨论,该代码如清单7 所示。
The first line of note is one I haven't talked much about yet, and it's illustrated in Listing 7.
MActivity模型的更新后的SQL代码如清单19所示。
The updated SQL code from the MActivity model is shown in Listing 19.
新扩展的ClickToCall小部件的完整源代码如清单14所示。
The complete source for the newly extended ClickToCall widget is shown in Listing 14.
定义代码如清单3所示,而且,再说一遍,它也必须在运行时位于类路径中。
It is shown in Listing 3 and, once again, must be in the classpath at runtime.
假设.NET客户端发出含有空元素的数组,代码如 清单9所示。
Suppose a .NET client sends out an array with a null element as shown in the code in Listing 9.
读取图书XML文件并用DOM显示内容的代码如清单2所示。
The code to read the books XML file and display the contents using the DOM is shown in Listing 2.
xhtml 中使用 JSCookMenu标记的源代码如清单18 所示。
The source from FlightHistory.xhtml where the JSCookMenu tag is used is shown in Listing 18.
对于相当晦涩的代码(如,对树的操作,尤其是编译器),自动化测试也是较理想的。
Automated tests are also ideal for rather arcane code such as a tree manipulation and, in particular, compilers.
然后在DOCTYPE的方括号()内部输入代码,如清单6所示。
You then enter code within your DOCTYPE inside square brackets (), as in Listing 6.
应用推荐