包含

    groovy

    的中国译典句库查询结果如下:

    详细句库 左右对照 句库目录 中文百科 Wiki百科 英文搜索 点击左侧选项卡,可以快捷查询右侧输入窗的内容

    Just don’t forget to copy the pattern back into Config. groovy to make the change permanent.

    但是不要忘了将模式复制到Config.groovy,以使更改是持久化的。

    属类:IT行业-www.ibm.com-

    But as you get more comfortable with the newer syntax, your code will gradually evolve to embrace the more concise, expressive Groovy style.

    但是随着您越来越熟悉新语法,代码将逐渐发展为包含更简明、更有表现力的Groovy风格。

    属类:IT行业-www.ibm.com-

    When the editor displays, enter this line of code into the books. groovy file, removing any others that might exist

    当编辑器显示出来时,将以下代码行输入books.groovy文件,并删除可能存在的任何其他代码行

    属类:IT行业-www.ibm.com-

    Of course, the JSR-compliant parser has rendered some now "classic" syntax incompatible with the new Groovy .

    当然,符合JSR的解析器也给新Groovy带来一些与目前“经典”语法不兼容的地方。

    属类:IT行业-www.ibm.com-

    Thanks to the conciseness of the Groovy language, many people choose to use a simple text editor instead.

    得益于Groovy语言的简明性,许多人都选择使用简单的文本编辑器编写。

    属类:IT行业-www.ibm.com-

    "Groovy name, groovy man, groovy politics! " del Toro said of his character.

    对于这个角色,delToro说:“名字很酷,人很帅,政治很给劲!”

    属类:英汉句库-article.yeeyan.org-

    Attributes (such as id and iata) are defined using Groovy hashmap key: value syntax.

    而属性(诸如id和iata)是用Groovy散列映射键:值语法定义的。

    属类:IT行业-www.ibm.com-

    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.

    回忆一下,GORM是一个优于Hibernate的瘦Groovyfacade,因此,那些古老的Hibernate技巧仍然奏效也不足为奇。

    属类:IT行业-www.ibm.com-

    Even without knowing Groovy or easyb, you should be able to follow the code in Listing 10 and see that everything works as planned.

    即便不了解Groovy或easyb,您也可以通过查看清单10中的代码,看到一切如期进行。

    属类:IT行业-www.ibm.com-

    Since the inception of the Practically Groovy series almost a year ago, I’ve given you several opportunities to get to know closures.

    几乎从一年前实战Groovy系列开始,我就已经提供了多个让您了解闭包的机会。

    属类:IT行业-www.ibm.com-

    Groovy allows you to create lightweight wrapper classes around interfaces for just this situation.

    仅在这种情况下,Groovy允许您围绕接口创建轻量级的包装器类。

    属类:IT行业-www.ibm.com-

    Mastering Grails: Scott Davis’s companion series focuses on this Groovy -based platform for Web development.

    精通Grails:ScottDavis的同系列文章,关注面向Web开发的基于Groovy的平台。

    属类:IT行业-www.ibm.com-

    Building the public-immutable-field version of the Address class in Groovy yields a nice clean implementation, shown in Listing 6

    可以使用Groovy来构建公共的不可变域版本的Address类,这带来的是一种非常清晰的实现,如清单6所示

    属类:IT行业-www.ibm.com-

    You can customize the startup and shutdown process by adding your own code to the init and destroy closures in the BootStrap. groovy file.

    可以通过向BootStrap.groovy文件中的init和destroy闭包添加自己的代码来自定义启动和关闭进程。

    属类:IT行业-www.ibm.com-

    Happily, Groovy seamlessly integrates with your existing codebase.

    令人高兴的是,Groovy可以无缝地与已有的代码库集成。

    属类:IT行业-www.ibm.com-

    Each widget is comprised of a Groovy template (. gt file) and supporting JavaScript.

    每个小部件由Groovy模板(.gt文件)和支持的JavaScript构成。

    属类:IT行业-www.ibm.com-

    The default scripting language is Groovy , which is based on Java and enables Java programmers to easily transition to Groovy.

    默认的脚本语言是Groovy,它基于的是Java并让Java程序员能够轻松转换到Groovy。

    属类:IT行业-www.ibm.com-

    The Groovy script that you just wrote is almost like executable pseudocode.

    您刚刚编写的Groovy脚本几乎和可执行的伪代码一样。

    属类:IT行业-www.ibm.com-

    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.

    您还会看到如何在Config.groovy中首次指定log4j设置,以及如何使用JMX动态调整它们。

    属类:IT行业-www.ibm.com-

    This addition, as you’ve probably guessed, clears up ambiguities in classic Groovy .

    您可能已经猜到,这个添加消除了经典Groovy中的歧义性。

    属类:IT行业-www.ibm.com-

    Others let you write rules using scripting languages such as Groovy or Python.

    其他规则引擎允许使用脚本语言(比如Groovy或Python)编写规则。

    属类:IT行业-www.ibm.com-

    Listing 7 shows the RESTdoc comments for the httpd. groovy file; the method implementations have been removed for brevity.

    清单7显示httpd.groovy文件的RESTdoc注释;为简便起见,实现方法已被移除。

    属类:IT行业-www.ibm.com-

    Notice the correlation between the virtual named resource and the Groovy handler’s file name.

    请注意虚拟命名资源和Groovy处理程序的文件名称之间的关系。

    属类:IT行业-www.ibm.com-

    If javac were a pluggable compiler, you could instruct it to compile both your Groovy and Java files at the same time.

    如果javac是可插拔的编译器,则可以指示它同时编译Groovy和Java文件。

    属类:IT行业-www.ibm.com-

    If you don’t supply a variable name, Groovy supplies a default one named it.

    如果没有提供变量名,Groovy提供了一个默认名称it。

    属类:IT行业-www.ibm.com-

    If you reboot Grails, it reverts to the persistent settings in Config. groovy .

    如果重新启动Grails,它会恢复到Config.groovy中的持久化设置。

    属类:IT行业-www.ibm.com-

    As I mentioned earlier, you don’t need to worry about creating the getters and setters: Groovy dynamically generates them for you.

    如前所述,这里不需要创建getter和setter方法:Groovy会动态地生成它们。

    属类:IT行业-www.ibm.com-

    In fact, I compiled my groovy unit tests into normal Java . class files and ran them as part of a Maven build.

    实际上,我将groovy单元测试编译成普通的Java.class文件,然后把它们作为Maven构建的一部分来运行。

    属类:IT行业-www.ibm.com-

    One of the joys of working with Groovy is all of the new methods that it adds to java. lang. String.

    使用Groovy的乐趣之一就在于它添加到java.lang.String中的新方法。

    属类:IT行业-www.ibm.com-

    The first step towards simplifying chart creation with Groovy is to define the data structure(s) used to specify chart details.

    使用Groovy简化图表创建的第一步是定义用于指定图表细节的数据结构。

    属类:IT行业-www.ibm.com-

    查询记录
    简典