The code in Listing 11 also shows another possible usage pattern.
清单11中的代码也带出了另一种可能的应用。
The code in Listing 2 ignores several possible types of checked exceptions thrown by the various reflection methods.
清单2中的代码忽略了不同反射方法抛出的多种可能选中的例外类型。
Listing 1 shows some of the variation that's possible.
清单1列出了一些可能的变体。
With an input and output file, it's now possible to see how JAXB does at round-tripping, by comparing the files to each other (remember that the original file was shown back in Listing 1).
现在有了输入和输出文件,通过互相比较可以看看JAXB在往返中是如何工作的(原始文件如清单1所示)。
Listing 1 provides an example of possible output from the system.
清单1例举了此系统的可能输出。
It depends on what you are doing in that sort section originally, but it's possible to save as much as half the time it would take using the method shown in Listing 6.
这取决于最初对排序部分执行的操作,但是如果使用清单6中的方法,则可能节省一半的时间。
Listing 8 shows one possible way to write this query in SQL against the simple four-table schema.
清单8展示了用SQL编写简单4表模式上的这个查询的一种可能方法。
A possible implementation of this hook for the announcement module is shown in Listing 2.
对于announcement模块,这个钩子的实现可能像清单2这样。
For example, the state table (Listing 4) in the WORKITEMS_SNAPSHOT snapshot stores information about the possible states of work items.
例如,WORKITEMS_SNAPSHOT快照中的STATE表格(代码清单4)存储了关于工作项可能状态的信息。
Listing 2 is the WSDL file for Sample1, which defines the location of the service, the operations possible, and the input and output parameters.
清单2是Sample1的WSDL文件,它定义了服务的位置,可能的操作,以及输入和输出参数。
Finally, you need to create the implementations for each of the possible subclasses. Listing 2 defines the subclasses for salaried employees and hourly employees.
最后,需要为每个可能的子类创建实现。
To see if this assumption is valid and, hence, a possible use of Listing 1, let's have a look at the default drag-and-drop behavior associated with Editor tabs.
要查看这种假设是否有效(这也是清单1的一个可能用途),让我们来看一下与这个编辑器标签有关的默认拖放行为。
View the annotated method syntax diagram for a complete listing of possible declared parameter types.
请查看带注释的方法语法图,以获得可能声明的参数类型的完整列表。
Listing 4 illustrates the relationship between the XML input file, the XSL stylesheet, the XSLT processor, and multiple possible outputs.
清单4演示了XML输入文件、xsl样式表、XSLT处理程序和多种可能的输出之间的关系。
Likewise, job hunters who for whatever reason want to seem as mature and experienced as possible can do that by listing jobs that are 15 years in the past.
同样,不管出于何种原因,如果求职者想显得尽可能成熟并富有阅历的话,不妨在简历中描述一下15年前所从事的工作。
As a side note, it is also possible to create multiple extension points even though the code listing below shows just the creation of one.
另请注意,还可以创建多个扩展点,即使下面的代码清单显示只创建一个扩展点。
Listing 2 is one of the simplest possible audio players.
清单2是一种最简单的音频播放器。
The names chosen in Listing 9 clarify the purpose of the service, and it is possible to deduce much of the sequence in which operations should be invoked.
而清单9中选择的名称说明了服务的目的,并可以减少很多操作应按特定顺序调用的情况。
Listing 11 shows you a drinks' list that lets the user opt out, or select from a list of possible non-alcoholic or alcoholic beverages.
清单11显示了一个饮料列表让用户选择,用户也可以从非酒精和酒精饮料中选择。
The simplest possible class that can be declared in shown in Listing 4, and its instantiation in Listing 5.
清单4展示了最简单的类声明方式,清单5展示了该类的实例化。
It's possible to create a tuple with temporary elements; the output from Listing 3 is (4 0).
可以创建具有临时元素的元组;清单3的输出为(40)。
They determined that mobile phones are a " possible carcinogen, " listing use of the devices in the same category as lead, engine exhaust and chloroform, CNN reported.
他们坚信手机是“一种致癌物质”,将其危害等同于铅毒、发动机排气及三氯甲烷。
The first thing to do is write a test for the simplest possible transfer behavior, such as the code in Listing 4.
我们要做的第一件事就是为最简单的转帐行为写一个测试,比如清单4中的代码。
Listing 1 illustrates one of the simplest tests possible for the utility class StringUtils.
清单1演示了实用类stringutils的一个最简单的测试。
Filtering, for example, using grep or other tools, is also possible, but you need to make sure to embed the entire remote command expression into the quotes (see Listing 3).
还可以进行筛选工作,例如使用grep或者其他工具,但是您需要确保将整个远程命令表达式嵌入到引号中(请参见清单3)。
Listing 7 also showcases another feature of VoiceXML and dynamically generated VXML: the possible disparity between the caller and the VXML itself.
清单7也展示了Voice XML与动态生成的VXML的另外一项特性:呼叫者可能并非VXML本身。
Finally, after a tasklet has been created, it's possible to stop a tasklet through the tasklet_kill functions (see Listing 4).
最后,微线程生成之后,就可以通过函数tasklet _ kill来停止微线程(参见清单4)。
To demonstrate, Listing 4 shows a test of the most basic Ajax request possible: the classic XMLHttpRequest-based example from Wikipedia.
为了进行演示,清单4测试了最基本的Ajax请求:来自Wikipedia的典型的基于XMLHttpRequest的示例。
The only vexing conditional in Listing 15 happens to be the first one, which attempts to verify if the message is truly a definition query and not one of the other possible combinations such as is...
清单15中惟一 麻烦的条件就是第一条,它要验证消息是一个定义查询而不是其他可能的组合,如 is...
The only vexing conditional in Listing 15 happens to be the first one, which attempts to verify if the message is truly a definition query and not one of the other possible combinations such as is...
清单15中惟一 麻烦的条件就是第一条,它要验证消息是一个定义查询而不是其他可能的组合,如 is...
应用推荐