注意,清单代码换行是为了适应页面宽度。
清单4显示了一个典型的消息传递事件,即发布拍卖系统中的一个新的高投标通知和产生该事件的代码。
Listing 4 shows a typical messaging event, posting notification of a new high bid in an auction system, and the code that generates it.
将分析方法的内容替换为如代码清单6所示的代码片段。
Replace the contents of the analyze method with the code snippet in Listing 6.
清单3的代码显示了正确的嵌套。
清单4显示了代码。
清单2给出了代码。
清单13显示了代码。
清单10展示了代码。
清单12给出代码接口。
样本代码清单:即本文中所讨论的样本代码清单。
Sample code listings: Sample code listings that are discussed in this article.
在转换为XSD时,该图如代码清单1中的代码所示。
When transformed into XSD, that figure looks like the code in Listing 1.
代码清单9中的代码是出于演示目的的简化方案。
The code in Listing 9 is a simplified solution for demonstration purposes.
但现在您可使用以下代码清单中显示的代码。
But for now, you can use the code shown in this code listing.
代码清单1显示了该模型生成的代码。
清单14给出代码。
清单11给出代码。
清单7给出代码。
清单18给出代码。
清单9给出代码。
清单28给出代码。
清单12给出代码。
这使代码清单更易于阅读。
页眉和页脚的结果HTML代码与清单6中的代码类似。
The resulting HTML code for your headers and footers looks like the code in Listing 6.
修改该代码,使其与清单10中的代码相同。
Modify this code so that it is the same as the code in Listing 10.
清单1:完整长度的示例代码清单。
下面是用来从云存储服务中获取项目清单的代码。
Following is the code to get the list of items from the cloud storage service.
在该文本区域中,输入以下代码清单14的代码。
In this text field, enter the following code from Listing 14.
下面清单9 中所示的代码可替换 清单8中的所有代码。
The following code, shown in Listing 9, replaces all the code in Listing 8.
清单5内的代码(基于清单2内的代码)显示了这样一个例子。
The code in Listing 5 shows one such example based on the code in Listing 2.
代码清单3显示了该方法的语法。
应用推荐