包含
groovy的中国译典句库查询结果如下:
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:英汉句库-article.yeeyan.org-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
1 | 但是不要忘了将模式复制到Config.groovy,以使更改是持久化的。 | Just don’t forget to copy the pattern back into Config. groovy to make the change permanent. | |
2 | 但是随着您越来越熟悉新语法,代码将逐渐发展为包含更简明、更有表现力的Groovy风格。 | But as you get more comfortable with the newer syntax, your code will gradually evolve to embrace the more concise, expressive Groovy style. | |
3 | 当编辑器显示出来时,将以下代码行输入books.groovy文件,并删除可能存在的任何其他代码行 | When the editor displays, enter this line of code into the books. groovy file, removing any others that might exist | |
4 | 当然,符合JSR的解析器也给新Groovy带来一些与目前“经典”语法不兼容的地方。 | Of course, the JSR-compliant parser has rendered some now "classic" syntax incompatible with the new Groovy . | |
5 | 得益于Groovy语言的简明性,许多人都选择使用简单的文本编辑器编写。 | Thanks to the conciseness of the Groovy language, many people choose to use a simple text editor instead. | |
6 | 对于这个角色,delToro说:“名字很酷,人很帅,政治很给劲!” | "Groovy name, groovy man, groovy politics! " del Toro said of his character. | |
7 | 而属性(诸如id和iata)是用Groovy散列映射键:值语法定义的。 | Attributes (such as id and iata) are defined using Groovy hashmap key: value syntax. | |
8 | 回忆一下,GORM是一个优于Hibernate的瘦Groovyfacade,因此,那些古老的Hibernate技巧仍然奏效也不足为奇。 | Recall that GORM is a thin Groovy facade over Hibernate, so it shouldn’t surprise you that all of your old Hibernate tricks will still work. | |
9 | 即便不了解Groovy或easyb,您也可以通过查看清单10中的代码,看到一切如期进行。 | Even without knowing Groovy or easyb, you should be able to follow the code in Listing 10 and see that everything works as planned. | |
10 | 几乎从一年前实战Groovy系列开始,我就已经提供了多个让您了解闭包的机会。 | Since the inception of the Practically Groovy series almost a year ago, I’ve given you several opportunities to get to know closures. | |
11 | 仅在这种情况下,Groovy允许您围绕接口创建轻量级的包装器类。 | Groovy allows you to create lightweight wrapper classes around interfaces for just this situation. | |
12 | 精通Grails:ScottDavis的同系列文章,关注面向Web开发的基于Groovy的平台。 | Mastering Grails: Scott Davis’s companion series focuses on this Groovy -based platform for Web development. | |
13 | 可以使用Groovy来构建公共的不可变域版本的Address类,这带来的是一种非常清晰的实现,如清单6所示 | Building the public-immutable-field version of the Address class in Groovy yields a nice clean implementation, shown in Listing 6 | |
14 | 可以通过向BootStrap.groovy文件中的init和destroy闭包添加自己的代码来自定义启动和关闭进程。 | You can customize the startup and shutdown process by adding your own code to the init and destroy closures in the BootStrap. groovy file. | |
15 | 令人高兴的是,Groovy可以无缝地与已有的代码库集成。 | Happily, Groovy seamlessly integrates with your existing codebase. | |
16 | 每个小部件由Groovy模板(.gt文件)和支持的JavaScript构成。 | Each widget is comprised of a Groovy template (. gt file) and supporting JavaScript. | |
17 | 默认的脚本语言是Groovy,它基于的是Java并让Java程序员能够轻松转换到Groovy。 | The default scripting language is Groovy , which is based on Java and enables Java programmers to easily transition to Groovy. | |
18 | 您刚刚编写的Groovy脚本几乎和可执行的伪代码一样。 | The Groovy script that you just wrote is almost like executable pseudocode. | |
19 | 您还会看到如何在Config.groovy中首次指定log4j设置,以及如何使用JMX动态调整它们。 | You’ll also see how the log4j settings are initially specified in Config. groovy , and you’ll learn how to adjust them dynamically with JMX. | |
20 | 您可能已经猜到,这个添加消除了经典Groovy中的歧义性。 | This addition, as you’ve probably guessed, clears up ambiguities in classic Groovy . | |
21 | 其他规则引擎允许使用脚本语言(比如Groovy或Python)编写规则。 | Others let you write rules using scripting languages such as Groovy or Python. | |
22 | 清单7显示httpd.groovy文件的RESTdoc注释;为简便起见,实现方法已被移除。 | Listing 7 shows the RESTdoc comments for the httpd. groovy file; the method implementations have been removed for brevity. | |
23 | 请注意虚拟命名资源和Groovy处理程序的文件名称之间的关系。 | Notice the correlation between the virtual named resource and the Groovy handler’s file name. | |
24 | 如果javac是可插拔的编译器,则可以指示它同时编译Groovy和Java文件。 | If javac were a pluggable compiler, you could instruct it to compile both your Groovy and Java files at the same time. | |
25 | 如果没有提供变量名,Groovy提供了一个默认名称it。 | If you don’t supply a variable name, Groovy supplies a default one named it. | |
26 | 如果重新启动Grails,它会恢复到Config.groovy中的持久化设置。 | If you reboot Grails, it reverts to the persistent settings in Config. groovy . | |
27 | 如前所述,这里不需要创建getter和setter方法:Groovy会动态地生成它们。 | As I mentioned earlier, you don’t need to worry about creating the getters and setters: Groovy dynamically generates them for you. | |
28 | 实际上,我将groovy单元测试编译成普通的Java.class文件,然后把它们作为Maven构建的一部分来运行。 | In fact, I compiled my groovy unit tests into normal Java . class files and ran them as part of a Maven build. | |
29 | 使用Groovy的乐趣之一就在于它添加到java.lang.String中的新方法。 | One of the joys of working with Groovy is all of the new methods that it adds to java. lang. String. | |
30 | 使用Groovy简化图表创建的第一步是定义用于指定图表细节的数据结构。 | The first step towards simplifying chart creation with Groovy is to define the data structure(s) used to specify chart details. |