Now, to render each post, type the code shown in Listing 5
现在,要呈现每个post,输入清单5 所示的代码
For example, to extract the second argument of command 782 in the history log, type the code shown in Listing 4.
例如,要提取历史日志中命令 782的第二个参数,可以输入清单4 中所示的代码。
After I use the Infer Generic type Arguments refactoring, Eclipse automatically determines the correct type parameters and produces the code shown in Listing 8.
在使用了InferGenericTypeArguments重构后,Eclipse会自动地确定正确的类型参数并生成清单8中的代码。
Type the snippet of code shown in Listing 1 (to experience the completion features of the editor), which is supposed to print the digits 1-10.
输入清单1 所示的代码片段,体会一下编辑器的代码补全特性。这段代码的意图是输出数字1-10。
The additional code snippet that has to be added to detect the field type and respond to it by dynamically creating a TDBImage is shown below.
必须添加一些附加代码,以检测字段类型,并通过动态创建TDBImage对此作出响应,这些附加代码片断如下所示。
Type the code in Listing 2 into an HTML file, load the file in your browser, and click the Say Hello button for the result shown in Figure 2.
将清单2中的代码输入到一个HTML文件,在浏览器内加载该文件,单击SayHello按钮,结果如图2所示。
The full source code to these beans and their UDPDMI classes is provided, as is a basic Web client, which lets you choose the backend type and operation to invoke, as shown below.
提供这些Bean及其 UDPDMI类的全部源代码,可以将其作为基本Web客户机,可以通过此客户机来选择后端类型和要调用的操作,如下所示。
You can either type in the code shown below or copy and paste it from the file provided with the article.
可以键入以下所示的代码,或从随本文提供的文件进行复制粘贴。
Then, by using your favorite code editor, type the program shown in Listing 1 in the $HOME/src/hw directory, and call it hw.c.
然后,使用您最喜欢的代码编辑器,在 $HOME/src/hw目录中输入清单1中的程序,并命名为 hw.c。
File, go to the site.xml TAB and add the type attribute to the site node as shown in the code in listing 8.
在site . xml文件中,转到site . xml附签,并将类型属性添加到站点节点,如清单8中代码所示。
You can easily convert enumerations to the underlying type by using the appropriate operator, as shown in the following code.
通过使用适当的运算符,可以轻松地将枚举转换为基础类型,如以下代码中所示。
You can easily convert enumerations to the underlying type by using the appropriate operator, as shown in the following code.
通过使用适当的运算符,可以轻松地将枚举转换为基础类型,如以下代码中所示。
应用推荐