In the preceding code sample, the code is split between words and appears on multiple lines for ease of viewing.
在先前的代码样本中,为了便于阅读,代码从单词之间分隔开来,并在多个行上显示。
In this simple example I have split off the implementation-specific code into its own method: runcalc .
在这个简单示例中,我已将实现专用的代码分解为它自己的方法runcalc 。
A more elegant solution might be to split package structure across two source directories for client-side and server-side code and to duplicate common classes into both directories.
更好的解决方案是将包结构分解成两个源目录,一个负责客户端代码,一个负责服务器端代码,然后将公共类复制到两个目录中。
The contents of this template might go directly in the first template, but the code is easier to follow if you split it out.
该模板的内容容可以直接用于第一个模板,但如果将其分开,代码就很容易理解。
Note: in the preceding code example, the code was split to multiple lines for viewing purposes.
注意:在前面的代码示例中,为了便于查看,我们将代码分成了多行。
Where an application is split between UI logic and business logic, SOA enablement can often be applied at the business logic’s message interface, bypassing the UI code entirely.
当应用程序的UI逻辑和业务逻辑拆分开时,SOA支持通常可以在业务逻辑的消息接口上应用,而完全忽略 UI代码。
To reveal the difference in the application code, each panel is further split into two horizontal frames, with the upper frame showing the online store and the lower part showing snippets of the code.
为显示应用程序代码的差异,每个面板进一步分为两个水平框架,上面的框架显示在线商店,下面部分显示代码段。
There is a distinct split between the transport code and the rest of the SOAP engine.
在传输代码和SOAP引擎的其他部分实现了清楚的分离。
Note: in the preceding code example, the code normally appears as a single continuous line. In this instance, the lines of code are split into multiple lines for ease of formatting and printing.
注意:在上面的例子中,代码通常作为单独的连续行出现,但为了便于设置格式和打印,将它分成了多行。
Rather than split the numeric sequence into individual digits and write complex code, a regex can test for validity.
regex不会把数字序列分隔为单个数字并编写复杂的代码,而是会测试其有效性。
In North America it starts with three Numbers called the area code, followed by seven digits split into sections of three and four, which is the local number.
在北美,该号码的开头为3个数字,称为区号,然后是7个数字,分为两部分,一部分3个数字,一部分4个数字,这是本地号码。
The difficulty in writing SAX handlers is that the code to process a specific element (say cfg:body) is split over several events (such as startElement() and endElement()).
编写SAX处理器的困难在于:要将处理一个特定元素(例如cfg:body )的代码拆分成几个事件(例如startElement()和endElement() )。
A single iSeries processor of the appropriate feature code (located on the web site listed below) can, with OS/400 V5R2, be split into a maximum of 10 partitions.
使用OS/400V5R2,具有适当特性码(feature code)的单个iSeries处理器(见下面列出的Web站点)最多可以划分为10 个分区。
VC + + interface mimics a small software code, use the split view, the toolbar is docked, the property page select select.
说明:模仿VC++界面的小软件代码,用到了视图的分割,工具栏停靠,属性页的选择选择。
Sometimes tencent is so not to lose face, want to have split up, and he pulled out a black halfway verification code.
有时候腾讯就是那么不给面子,想把已经分手的他拉黑,还要半路冲出个验证码。
Timers can be used to schedule code for later execution, which allows you to split up long-running scripts into a series of smaller tasks.
定时器可用于安排代码推迟执行,它使得你可以将长运行脚本分解成一系列较小的任务。
Newlyweds would take a minimum of two years before deciding whether to cement their relationship or split up, under plans to alter the city's civil code.
新婚夫妇可以最少用两年的时间,来决定是否巩固还是终止婚姻关系,有计划地改变该市的民事法典。
If the answer to both of these questions is "no," then the code is a good candidate for using timers to split up the work.
如果这两个回答都是“否”,那么代码将适于使用定时器分解工作。
If the answer to both of these questions is "no," then the code is a good candidate for using timers to split up the work.
如果这两个回答都是“否”,那么代码将适于使用定时器分解工作。
应用推荐