通过使用这个工作流,您可以变更和可视化代码,以记录它,并更好的理解它的结构和行为。
By using this workflow, you can change and visualize code to document it and better understand the architecture and behavior.
您可以简单地通过增加这个程序的代码添加您所感兴趣的模型元素关系。
You can add model element relationships that you're interested in simply by augmenting the code in this routine.
好的一面是您可以通过使用库、框架和代码生成器,很容易地避免这个维护问题。
The good news is that you can easily avoid this maintenance nightmare by using libraries, frameworks, and code generators.
当浏览器调用这个微型云服务器的默认 “页面” 时,代码通过返回前面提到的 “主”目录的目录清单来做出回应。
When a browser calls the default "page" of this tiny cloud server, the code responds by returning a directory listing of the aforementioned "home" directory.
通过将我的代码重构为使用集合而非列表,我不但解决了这个问题,而且优化了整个解决方案,因为我现在使用的是更精确的抽象。
By refactoring my code now to use sets instead of lists, I not only fix this problem but make the overall solution better because I'm now using a more accurate abstraction.
这个服务接口公开的数据是通过应用程序代码从底层数据库获得的。
The data exposed on the service interface comes from the underlying database via the application code.
在您构建您的捕获实例示例过程中,您将看到如何重用这个代码片段、通过一个更复杂的流检索实例属性。
As you build up your capture instance example, you will see how you can reuse this snippet of code to retrieve instance attributes with a more complex flow.
可以通过调用这个标记在多个位置使用自定义标记,无需在不同的地方重复编写相同的代码。
You can use a custom tag on multiple places simply by invoking the tag, and remove the repetition of writing the same piece of code in different places.
为了创建一个小部件,必须通过添加清单3所示的代码行来导入这个小部件声明。
To create a widget, you must import the widget declaration by adding the lines from Listing 3.
在您先编写测试并通过测试这个过程中,您正在让代码告诉您它想要做什么,以及会成为什么。
As you write tests first and get them to pass, you're letting the code tell you what it wants to do and become.
当它得到服务的已发布对象时,它将下载与该服务通信所需的任何代码,从而学习如何通过这个API与特定的服务实现进行通信。
When it gets the service's published object, it will download any code it needs in order to talk to the service, thereby learning how to talk to the particular service implementation via the API.
微软员工也会通过这个站点张贴他们工作代码中的片段,揭示目前或是未来微软产品中的秘密。
Microsoft employees will use this site to post snippets of the code they are working on, revealing some of the secrets of current or future Microsoft products.
本文是分两部分的文章的第二部分,讨论如何使用TDD在编写代码之前编写测试,并通过这个过程形成更好的设计。
This is the second part of a two-part article investigating how use of TDD allows better design to emerge from the process of writing tests before you write code.
好的通过生成这个循环,我应该能够达到目的,这也是你们的讲义中下一段代码。
Well I ought to be able to do that by simply generalizing the loop. And that's what the next piece of code on your a hand out shows you.
这个代码缓存当前是固定大小的(通过运行时可配置)它在VM启动时分配。
The code cache is currently fixed sized (though runtime configurable) and is allocated at VM boot time.
这个方法能够最好的允许您编写JRC代码并且通过允许使用基于JNDI技术的报告。
This approach gives you the best of both worlds by allowing you to write JRC code and by allowing the use of reports based on JNDI technology.
人们做了一个愚蠢的决定,在这个课程上,通过习题集,当执行你的代码的时候,有三个评估方面。
People make really stupid decisions and so as you know in this course with P sets there are three axes that we look at when evaluating your code.
最近这个项目已经扩展为支持强类型化,通过其他一些扩展,强类型化允许高级代码重构。
Recently this has been extended to also support strong typing which with some other extensions allows for advanced code refactoring.
一旦有了与我们搜索的标准相匹配的企业清单,这个代码通过循环该列表并打印所有匹配的企业名称
Once we have the list of businesses that match our search criteria, this code iterates through the list and prints the names of all the businesses that match
这个useBean 标记通过了验证,我们将稍后讨论生成的代码。
This useBean tag passes validation; we will see the generated code later.
但是,这个功能16可以通过使用Mercurial代码库的默认branch17来实现,而且已经有一些RabbitMQ用户在使用了。
The functionality however 16 is already available via the Mercurial source code repositories default branch 17 and is actively being used by several RabbitMQ users.
通过使用这个RealTimeSystemAPI,可以降低具有严格时间要求的代码区域中发生锁定初始化的机率。
By using this RealTimeSystem API, you can reduce the chance that lock initialization happens within a time-critical code region.
视图代码通过这个对象与Swing组件交互。
View code interacts with Swing components through this object. To change the content of the flash-card text pane, for example, you could write
另外,通过提供isprime变量的值,可以在代码中放置done探测,用这个值作为参数,以此替代其他探测。
Also, note that by providing the value of the isprime variable, you can put the done probe into the code once with that value as an argument, in place of using different probes.
当在HTTp请求中没有显式指定字符集属性,并且无法通过检查encoding .properties确定输入代码集时,请使用这个属性。
It is used when the charset attribute is not explicitly specified in the HTTP request and the input code set cannot be determined by examining the encoding.properties.
HealthCenter的Profiling透视图提供一个方法概要,这个方法概要通过对执行代码进行定期采样收集。
The Health Center's Profiling perspective gives a method profile collected by regularly sampling the executing code.
这可以通过在信号处理程序代码中设置一个全局标志并在完成关键部分的代码之后检查这个标志来实现。
This can be achieved by setting a global flag in the handler code and checking for the flag after completion of the critical part.
要执行这个程序化的操纵,您必须通过一个插件部署这个代码。
To perform the programmatic manipulation, you have to deploy the code through a plug-in.
这个模式通过目录服务封装访问组件的代码,如JNDI客户端代码之类,因此客户端可以简单的以资源名通过验证并返回这个资源。
This pattern encapsulates code for accessing components through directory services, such as JNDI client code, so that a client can simply pass in the name of a resource and get back that resource.
这个工具能够使我们观测我们提供的代码覆盖测试,然后决定是改进测试还是通过手工检查的方法来测试代码。
This tool enabled us to monitor the coverage provided by our tests and then decide whether to improve the tests or test the code through manual inspection instead.
应用推荐