单词 | groovy |
释义 |
比较级:groovier 最高级:grooviest adj. fashionable,wonderful,hip,cool,marvellous 例句释义: 时髦的,吸引人的,有趣的,很帅的,常规的,绝妙的 1. Before I move on to the next iteration example, you should know about one other bit of syntactic sugar regarding Maps in Groovy. 在继续研究下一个迭代例子前,应当了解Groovy中有关Map的另一个语法。 www.ibm.com 2. It has always been a dream of mine to write Eclipse plug-ins in other languages like JavaScript, Groovy or Scala. 我一直有个梦想——使用其它语言如JavaScript、Groovy或Scala编写Eclipse插件。 www.infoq.com 3. The next stop on this Groovy roadshow is to plug it into a build process, specifically my maven. xml file. 这个Groovy巡演中的下一站是把它装配进构建过程,特别是放在我的maven.xml文件中。 www.ibm.com 4. In the next article, I'll explore the dynamic nature of Groovy with you in greater detail. 在下一章文章中,我将更加深入地探索Groovy的动态特性。 www.ibm.com 5. It also seems to be picking up a lot of mind-share as the defacto 'Java Scripting Language', which is helping that community. 而且Groovy挂着‘Java脚本语言’的名头,也吸引了很多注意力,对社区显然是有好处的。 www.infoq.com 6. Drop one of these groovy guitars into your drink, and give it a stir. Will it make great music? 放一把这样的吉他在你的杯子里,搅动一下。会有动听的音乐响起吗? www.kxue.cn 7. Since the inception of the Practically Groovy series almost a year ago, I've given you several opportunities to get to know closures. 几乎从一年前实战Groovy系列开始,我就已经提供了多个让您了解闭包的机会。 www.ibm.com 8. In this article, the new and noteworthy features have been outlined, but we have barely scratched the surface of this new version of Groovy. 这篇文章列出了Groovy1.5中引人注目的新特性,但是我们仅仅触及了Groovy这个新版本的皮毛。 www.infoq.com 9. It's been almost a year since I introduced you to Groovy with the article " Feeling Groovy" in the alt. lang. jre series. 从我在alt.lang.jre的系列文章“FeelingGroovy”中介绍Groovy开始,差不多有一年时间了。 www.ibm.com 10. This release brings with it a raft of updates to the core Groovy language and libraries. 此次发布对Groovy语言本身和程序库都进行了大量的更新。 www.infoq.com 1. 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中的新方法。 www.ibm.com 2. To do that, you will write a simple Groovy method that copies the field values in a JSON object into a chart URL. 为此,您将编写一个简单的Groovy方法,该方法将JSON对象中的字段值复制到一个图表URL中。 www.ibm.com 3. But as the Groovy users regularly asked for this old construct to be also part of Groovy, the team decided to bring it back to Groovy. 但是由于Groovy用户经常要求Groovy包含这个旧的循环构造,所以Groovy团队决定支持它。 www.infoq.com 4. Finally, you see one more bit of Groovy syntactic sugar you can use when calling getters on a class. 最后,在类中调用getter时,您将看到使用Groovy语法的更多优点。 www.ibm.com 5. When it comes down to it I must be able to declare my domain classes in packages and the JetBrains plugin can't handle that. 当我使用Groovy插件的时候,我必须能够在包中声明我的领域类,然而JetBrains插件不能处理这个问题。 www.infoq.com 6. Completely scrapping Ant or Maven and using Groovy for the entire build process would be a bit extreme in this case. 完全摈弃Ant或Maven,整个构建过程都使用Groovy,在这个例子中,这样做有点极端。 www-128.ibm.com 7. As you can see, unlike typical Java code, Groovy controls my iteration-specific code while allowing me to pass in the behavior I need. 您可以看到,与典型的Java代码不同,Groovy在允许我传递进我需要的行为的同时,控制了特定于迭代的代码。 www-128.ibm.com 8. The only project that has more downloads and a busier mailing list is Grails, a popular Web framework implemented in Groovy (see Resources). Grails是惟一一个拥有较多下载数量以及繁忙邮件列表的项目,它是在Groovy中实现的流行Web框架(请参阅参考资料)。 www.ibm.com 9. In the next installment, I'll delve further into the functional features of a couple of dynamic languages on the JVM: Groovy and JRuby. 在下一期,我将深入研究JVM中几种动态语言的函数特性:Groovy和JRuby。 www.ibm.com 10. I hope I've made it clear that Groovy's Builders enable you to avoid the underlying markup of a particular language, like XML. 我希望我能让您明白,Groovy的生成器可以让您避免特定语言(如XML)中的底层标记。 www.ibm.com 1. GORM helps mitigate the leaky-abstraction problem by allowing you to represent your object model in a way that makes sense in Groovy. GORM有助于缓解抽象泄漏问题,它支持使用对Groovy有意义的方式表示对象模型,由GORM在幕后处理关系数据库的问题。 www.ibm.com 2. You may have noticed that the operator in Groovy is already overloaded in a few different areas, especially when it comes to collections. 您可能已经注意到Groovy中的 操作符已经在几个不同的领域重载了,特别是在用于集合的时候。 www.ibm.com 3. Pixel Groovy is a user-controlled tutorial archive where members decide which tutorials to promote to the front page. PixelGroovy是由用户控制的教程存档网站,完全由用户决定哪些教程会上首页。 www.bing.com 4. If you were a groovy chick, or are now a groovy hen, let's get together and listen to my boss collection of eight-track tapes. 如果你认为你仍是一个时髦的女子,或者现在已为一位时髦的妇女,那么,让我们一起来欣赏我长期保存的磁带收藏吧! dict.bioon.com 5. A few simple examples will bring you up to speed on the Groovy String types I'll be working with in this article. 有一些简单的例子可以对GroovyString类型进行加速,在本文中我们将使用这些例子。 www.ibm.com 6. Groovy's handy-dandy shortcuts let me invoke the toJSON method on all objects within a collection with a *. invocation. 通过groovy便利的快捷方式,我可以使用*.调用对集合内的所有对象调用toJSON方法。 www.ibm.com 7. Before and after advice types are particularly easy to implement in Groovy. 在Groovy中,可以非常容易地实现before和afteradvice类型。 www.infoq.com 8. This series, as its name implies, is all about practical uses for Groovy know-how. 本系列如名称所示全部都是实际使用的Groovy实践知识。 www.ibm.com 9. Groovy allows you to add new methods to any class (including java. lang. Integer, which is how Groovy treats number literals). Groovy使您能将新方法添加到任何类(包括java.lang.Integer,这是Groovy对待数字字面值的方式)。 www.ibm.com 10. In the next section, I'll put Groovy's template engine to the test with a more complicated example. 在下一节中,我们将会使用一个更加复杂的例子对Groovy模板引擎进行测试。 www.ibm.com 1. But as you get more comfortable with the newer syntax, your code will gradually evolve to embrace the more concise, expressive Groovy style. 但是随着您越来越熟悉新语法,代码将逐渐发展为包含更简明、更有表现力的Groovy风格。 www.ibm.com 2. Nestled among the branches, up off the ground, there's a nine-foot-diameter hardwood floor and groovy round mattress inside. 它位于数的枝干之间,地面之上,里面有一个直径九英寸的硬木板和一个绝妙的圆形床垫。 www.bing.com 3. Well, let's just say you developed something cool in Groovy; wouldn't it be nice to be able to incorporate it into your Java programs, too? 好了,我们想说您用Groovy开发了一些很酷的东西;那么如果能把这些东西集成到Java程序中,那不是很好吗? www.ibm.com 4. Groovy's triple quotes (commonly called a HereDoc in other languages) make it effortless to store the XML internally, as shown in Listing 4. Groovy的三重引号(在其他语言中通常称作HereDoc)使得在内部存储XML变得非常轻松,如清单4所示。 www.ibm.com 5. Once your Java file is in place, you can create a "shadow" file next to it named AirportHbmConstraints. groovy, shown in Listing 10. Java文件一旦就位,就可以挨着它创建一个清单10中所示的名为AirportHbmConstraints.groovy的“影子”文件了。 www.ibm.com 6. If, at some point later, I needed to make a change, I'd have to go into the Groovy script's logic to do it. 之后,如果我需要进行一些修改,就只能进入到Groovy脚本的逻辑中进行修改。 www.ibm.com 7. Graphic artist Antje Gerwien treads a fine line between groovy and grotesque, the the above bag designs illustrate so well. 图像艺术家安特耶·葛文,踩在一条横亘在新潮和怪诞之间的恰当分界线上,上面的购物袋设计说明了这一点。 www.bing.com 8. I've shown in recent articles in the Practically Groovy series that Groovy is a superb tool for constructing reporting applications. 在最近的实战Groovy系列中,我们已经介绍过Groovy是构建报表统计程序的一个非常好的工具。 www.ibm.com 9. As the GDK cheekily says on its first page, "This document describes the methods added to the JDK to make it more groovy. " 正如GDK在其首页中所说,“本文档描述了添加到JDK并更具groovy特征的方法。” www.ibm.com 10. Known as the Groovy Grove, Coconut Grove is a lush, tropical paradise on the edge of Biscayne Bay in sunny Southern Florida. 椰树林,又被人们称为愉快的小树林,位于阳光灿烂的佛罗里达南部比斯坎湾边缘,是个植被繁茂的热带乐园。 www.ritzcarlton.com 1. You might want to be a bit more fail-safe when doing database inserts and deletes in BootStrap. groovy. 在BootStrap.groovy中执行数据库插入和删除操作时可能需要一定的防故障措施。 www.ibm.com 2. "Mom and Dad, yeah, " he shouted. "Thank you Mom and Dad for turning me on to such a groovy profession. " “妈妈和爸爸,是的”,他叫出来。“感谢你们妈妈和爸爸给我这样棒的职业。” www.360doc.com 3. Groovy's collect method is rather slick, by the way: it allows me to drop in a corresponding loop that creates Race instances. 顺便说一下,Groovy的collect方法非常灵活:它允许删除创建Race实例的对应的循环。 www.ibm.com 4. The last line of a Groovy method is an implicit return statement. Groovy方法的最后一行是一个隐式的return语句。 www.ibm.com 5. 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中的代码,看到一切如期进行。 www.ibm.com 6. As a super-set of Java, it has a very straight-forward learning curve from Java. 因为Groovy是Java的一个超集,所以从Java到Groovy的学习曲线是十分平直的。 www.infoq.com 7. The resource handlers should have the same name as the resource models but a . groovy rather than . json file extension. 资源处理程序应该与资源模型同名,但其文件扩展名为.groovy而不是.json。 www.ibm.com 8. Groovy templates aren't rocket science. They're simply a means for facilitating the separation of a view from its model. Groovy模板并不是火箭科学,它们只不过是一种简化从模型中分离视图过程的手段。 www.ibm.com 9. This standard, but arguably least-common-denominator approach, allows you to embed a Groovy script effortlessly. 这个标准的、但是有争议的最小公因子方法,可以让您毫不费力地将Java应用程序嵌入Groovy脚本。 www.ibm.com 10. In classic Groovy, if you declared a parameter to your closure you had to use a | character for a separator. 在经典的Groovy中,如果为闭包声明参数,就必须用|字符作为分隔符。 www.ibm.com 1. However, the most noticeable changes will be in the general runtime performance improvements of Groovy. 然而最值得关注的改变要数Groovy的运行时性能改进。 www.infoq.com 2. You no longer need to write getters and setters for your fields, because Groovy provides them for you automatically. 在Groovy中,不再需要为字段编写getter和setter方法,因为Groovy会自动提供它们。 www.ibm.com 3. Object in your normal Java classes lets you dynamically execute Groovy scripts just as the classloader does. 对象嵌入普通Java类,可以像类加载器所做的那样动态执行Groovy脚本。 www-128.ibm.com 4. Groovy also allows you to eliminate some parentheses around parameters, leading to fewer noise characters. Groovy还允许消除围绕参数的一些括号,从而减少干扰。 www.ibm.com 5. The GroovyPdfGenerator. groovy script must contain at least one class that implements your interface. groovy脚本必须包含至少一个实现接口的类。 www.ibm.com 6. It's time to see how to integrate Groovy code into a Spring-based application. 接下来,看看如何将Groovy代码集成到基于Spring的应用程序中。 www.ibm.com 7. Groovy allows you to create lightweight wrapper classes around interfaces for just this situation. 仅在这种情况下,Groovy允许您围绕接口创建轻量级的包装器类。 www.ibm.com 8. Love enlighten computation is make water one of methods of sedimentary lens check, can regard make water as groovy auxiliary examination. 爱迪计数是尿沉渣镜检的方法之一,可作为尿常规的辅助检查。 dictsearch.appspot.com 9. First, I'll show a traditional implementation of the Decorator pattern in Groovy, then make it more dynamic in subsequent examples. 首先,我将演示修饰符模式在Groovy中的传统实现,然后再在后续示例中提高它的动态性。 www.ibm.com 10. This addition, as you've probably guessed, clears up ambiguities in classic Groovy. 您可能已经猜到,这个添加消除了经典Groovy中的歧义性。 www.ibm.com 1. One of the most underappreciated aspects of Groovy is the fact that it fully supports Java syntax. Groovy最被低估的一个方面是它完全支持Java语法的事实。 www.ibm.com 2. The first step towards simplifying chart creation with Groovy is to define the data structure(s) used to specify chart details. 使用Groovy简化图表创建的第一步是定义用于指定图表细节的数据结构。 www.ibm.com 3. Leveraging the syntax of Groovy builders for creating user interfaces would probably be very nice. 调整Groory构建器的语法以创建用户界面可能会非常棒。 www.infoq.com 4. Using Groovy beans in a Spring application is just as easy as using Java beans. 在Spring应用程序中使用Groovybean很容易,就像使用Javabean一样。 www.ibm.com 5. Notice that the action of the form is authenticate, which matches the name of the closure in UserController. groovy. 注意,表单的action是authenticate,它匹配UserController.groovy中的闭包的名称。 www.ibm.com 6. This mapping is the first important step for using templates in Groovy or, for that matter, any language that has a template engine. 这种映射是在Groovy中使用模板最重要的步骤,或者说在任何具有模板引擎的语言中都是如此。 www.ibm.com 7. One of the big advantages of Groovy is its ability to easily parse XML and JSON without having to invest a lot of time writing parsing code. Groovy的一大优势是,能够方便地解析XML和JSON,不用花费大量的时间编写解析代码。 www.ibm.com 8. Because Java syntax is valid Groovy syntax as well, the initial learning curve is practically nonexistent. 由于Java语法也是有效的Groovy语法,因此最开始的学习曲线实际上是不存在的。 www.ibm.com 9. The main goal of our groovy space game is to kill aliens and accumulate points, so we'll need a procedure to alter the score. 我们的这个太空游戏的主要目标是杀掉外星人并积分,所以我们需要一个过程来更改分数。 www.ibm.com 10. The last part of the method parses the XML result using a Groovy XmlSlurper and stores the results in a hashmap. 方法的最后部分使用GroovyXmlSlurper解析XML结果并将结果存储在hashmap里。 www.ibm.com 1. I honestly don't know whether the top-line productivity is as high as Python and Ruby, but I don't have any evidence that it is not. 说实话我不知道Groovy的生产效率是不是像Python和Ruby那么高,但我没有看到任何反面的证据。 www.infoq.com 2. 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会动态地生成它们。 www.ibm.com 3. This, by the way, is the heart of Groovy - and just imagine how it works when you re running scripts! 而且,这是Groovy的核心想想运行脚本时它将如何发威吧! www-128.ibm.com 4. Groovy, a JVM dynamic language with a Java-like syntax, sports impressively powerful features that make mimicking AOP a breeze. 一门有着与Java类似语法的JVM动态语言,突变出令人难忘的、可以轻而易举地模拟AOP行为的强大特性。 www.infoq.com 5. Recently, we've also seen the rise of tools like the Spock testing framework and CodeNarc (the static analysis tool for Groovy and Java). 最近,我们也已经看到了象Spock测试框架和CodeNarc(Groovy和Java的静态分析工具)这类工具的崛起。 www.infoq.com 6. Indeed, as I explained earlier, Groovy is a great enhancement to these tools, not a replacement. 但实际上,正如我前面解释的,Groovy是这些工具的极大增强,而不是替代。 www.ibm.com 7. With this control, Groovy neatly shifts the responsibility of resource handling from me to itself. 使用这个控制,Groovy干净漂亮地把资源管理的责任从我手上转移到它自己身上。 www-128.ibm.com 8. EMCs require the use of closures, which means that you can only implement them in Groovy. EMC需要使用闭包,这意味着您只能在Groovy中实现它们。 www.ibm.com 9. A hippie is someone who was able to dig and get it on with the groovy ideas of the sixties. 嬉皮是指那些能够“享受”和“尝试”60年代“新奇”想法的人。 www.ycxyz.com 10. Compress photograph comparing with groovy file, the compressibility of the watch depends on more elements. 与常规的文件压缩相比,表的压缩率取决于更多的因素。 www.showxiu.com 1. Much has changed since the last Practically Groovy installment was published in late 2006. 自2006年末发布实战Groovy的最后一期后,Groovy发生了很大的变化。 www.ibm.com 2. Happily, Groovy seamlessly integrates with your existing codebase. 令人高兴的是,Groovy可以无缝地与已有的代码库集成。 www.ibm.com 3. Groovy distributions always contained two different shells: a command-line shell as well as a Swing console. Groovy的发行版本总是包含两个不同的shell:一个命令行shell和一个Swing控制台。 www.infoq.com 4. In Larsson's drawings, the underground rooms have the groovy, biomorphic look of an old Yes album cover. 在拉尔森的蓝图中,沙漠的地下世界颇有Yes乐队专辑封面的范儿:仿生设计,酷劲十足。 www.bing.com 5. In the next article, I'll demonstrate an old technology that is garnering fresh, new interest thanks to Groovy's flexible syntax: Swing. 在下一期文章中,我将演示一个得益于Groovy的灵活语法Swing而重新焕发生机的旧有技术。 www.ibm.com 6. In this case, I've shown you how Groovy can be used to enhance rather than replace an already very powerful utility: Ant. 在这个案例中,我向您展示了如何用Groovy增强而不是替换已经非常强大的工具:Ant。 www.ibm.com 7. I discussed how several of the Gang of Four patterns can be implemented in more expressive languages (like Groovy). 我介绍了如何用更具表达性的语言(比如Groovy)实现几个四人组模式。 www.ibm.com 8. This particular extension lets you run test suites via the groovy command, and also offers up a host of new assert methods. 这个特殊的扩展允许您通过groovy命令运行测试套件,而且提供了一套新的assert方法。 www.ibm.com 9. Of course in the case of replacing a single letter, Groovy offers a more concise replace method. 当然,在替换一个单个字母时,Groovy提供了一个更加简洁的替换方法。 www.ibm.com 10. The benefits of working with XML in Groovy become even more evident when you store the XML in a String variable instead of a file. 当您将XML存储在String变量而不是文件中时,在Groovy中使用XML的好处会变得更加明显。 www.ibm.com 1. Groovy has one of the busiest mailing lists at Codehaus. org, where the project is hosted (see Resources). Groovy在Codehaus.org中有一个最忙碌的邮件列表,这是托管该项目的位置(请参阅参考资料)。 www.ibm.com 2. If you are following along with the Groovy Eclipse plugin, you can a breakpoint at the start of the main method and step through the code. 如果旅程中有GroovyEclipse插件一起陪伴你,那么你可以在main方法的开始设置一个断点,并跟踪进入这个代码。 www.infoq.com 3. You can use a very Groovy-like set of nested configuration blocks to store your values in the configuration file. 您可以使用一组非常类似于Groovy的嵌套配置块在配置文件中存储您的值。 www.ibm.com 4. Now any request going to a . groovy URI will invoke the GroovyServlet, which will grab the requested resource and execute it as is. 现在,任何到达.groovyURI的请求都将调用GroovyServlet,由它获取请求的资源并原样执行它。 www.ibm.com 5. Groovy runs best on Java 5 or 6. Type java -version at a command prompt to confirm that you are up-to-date. Groovy运行在Java5或6上的效果最佳。在命令提示中输入java-version以确认您使用的是最新版本。 www.ibm.com 6. Figure 5 shows an example of a script called hello. groovy with an event handler method for a GET event. 图5展示了一个名为hello.groovy的脚本示例,它的每个GET事件都有一个事件处理程序。 www.ibm.com 7. If Groovy isn't to your taste, we could re-implement the above examples in the dynamic language of your choice. 如果Groovy不合你的胃口,我们可以在你选择的动态语言中重新实现以上各例。 www.infoq.com 8. Groovy allows you to add direct support for numeric quantities via open classes. Groovy允许您通过开放类直接添加对数量的支持。 www.ibm.com 9. This is another one of the many seemingly small features in Groovy that facilitates code readability through the reduction of noise. 这也是Groovy众多通过减少冗余而改善代码可读性的特性中的一种。 www.ibm.com 10. Groovy's Metaobject-Protocol is a mechanism by which application developers can modify the implementation and behaviour of their language. Groovy的元对象协议是一种可被应用开发者用来修改语言实现和行为的机制。 www.infoq.com 1. But I hope that I've demonstrated that we can get very far, with relatively little effort, thanks to the power of the Groovy language. 但是,我希望我已经示范了:只需相对极少的努力,我们可以走得非常远,这都要感谢Groovy语言强大的能力。 www.infoq.com 2. The fact that Groovy offers a concise Java-like syntax that also preserves Java semantics is pretty compelling. Groovy提供了类似Java的简明语法,同时保留了Java语义,这一点非常引人注目。 www.ibm.com 3. Groovy improves the Java language's concept of iterators by making them implicit and more simple to use. Groovy把迭代器变成隐含的,使用起来更简单,从而改善了Java语言的迭代器概念。 www.ibm.com 4. The key's value would be whatever I chose as my favorite scripting language (in this case, Groovy, of course). 这个键值可以是根据我自己的喜好选择的任何脚本语言(在本例中,当然是Groovy)。 www.ibm.com 5. This restriction is lifted in Groovy; you can change the values of variables in a containing scope from within an anonymous inner class. Groovy则消除了这种限制,在Groovy中,匿名内部类可以修改外部的变量值。 www.infoq.com 6. Following convention over configuration, the controller should be named AirportHbmController. groovy. 按照约定优于配置的规定,控制器应该命名为AirportHbmController.groovy。 www.ibm.com 7. I'm using Groovy's syntactic sugar to execute a code block, which is to place a set of parentheses adjacent to the code block's variable. 我使用了Groovy的语法糖(syntacticsugar)来执行此代码段,结果放置在代码段变量旁边的圆括号中。 www.ibm.com 8. Gant is basically a Groovy way of invoking Ant tasks, which by itself gives you a lot compared to a good old build. xml. Gant基本是一种Groovy的方式调用了Ant任务,比较起老旧的build.xml它有很多优点。 www.bing.com 9. Mastering Grails: Scott Davis's companion series focuses on this Groovy-based platform for Web development. 精通Grails:ScottDavis的同系列文章,关注面向Web开发的基于Groovy的平台。 www.ibm.com 10. "Groovy name, groovy man, groovy politics! " del Toro said of his character. 对于这个角色,delToro说:“名字很酷,人很帅,政治很给劲!” www.bing.com 1. When you are getting started with Groovy, much of your code will end up looking just like traditional Java code. 在开始使用Groovy时,大部分代码最终看上去都像是传统的Java代码。 www.ibm.com 2. What makes Groovy particularly appealing with respect to other scripting platforms is its seamless integration with the Java platform. 是什么让Groovy比起其他脚本平台显得更具有吸引力呢?是它与Java平台无缝的集成。 www-128.ibm.com 3. BSF attempts to offer a common API for embedding any scripting language in a normal Java application, including Groovy. BSF试图提供一个公共的API,用来在普通Java应用程序中嵌入各种脚本语言(包括Groovy)。 www.ibm.com 4. His affable style and dedication to both Groovy and Grails has resonated with a broad swath of readers. 他和蔼的风格以及对Groovy和Grails的奉献精神吸引了广泛的读者。 www.ibm.com 5. Each widget is comprised of a Groovy template (. gt file) and supporting JavaScript. 每个小部件由Groovy模板(.gt文件)和支持的JavaScript构成。 www.ibm.com 6. Creating a template with Groovy's template framework is quite similar to creating a JSP, since you can reuse the syntax found in JSPs. 使用Groovy模板框架创建模板与创建JSP非常类似,因为您可以重用JSP中见过的语法。 www.ibm.com 7. Looking at the above GSP should seriously remind you of standard Groovy template development. 观察上面的GSP可能很容易让您回想起标准Groovy模板开发。 www-128.ibm.com 8. Groovy supports the notion of Builders, which are logical mechanisms for defining hierarchical data structures (see Resources). Groovy支持Builder的概念,Builder是用于定义层次化数据结构的逻辑机制(见参考资料)。 www.ibm.com 9. 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构建的一部分来运行。 www.ibm.com 10. Ever the expert expresses, if reasonable operation, the cost of network sale has the in part of groovy sale only. 曾有专家表示,假如合理运营,网络营销的成本只有常规营销的一半。 itzhe.cn 1. While I could do something similar with Java code using anonymous inner classes, it's simply easier and less esoteric in Groovy. 虽然我用Java代码时能用匿名内部类做类似的事情,但是用Groovy更容易、神秘性更少一些。 www.ibm.com 2. In the previous installments of the Practically Groovy series, you discovered some pretty nifty features of Groovy. 系列的前几期中,您已经了解了Groovy的一些非常优美的特性。 www-128.ibm.com 3. In the flow's script activity instance, you provide the name of the Groovy script you will be calling along with other arguments (Figure 4). 在流的脚本活动实例中,您提供将要调用的Groovy脚本的名称和其他一些参数(见图4)。 www.ibm.com 4. But as you saw, Groovy is a great solution for Java developers who already know the Java language. 但是正如您所见,Groovy是了解Java语言的Java开发人员的优秀解决方案。 www.ibm.com 5. From the Gant installation section, enter a unique name and the location of the Groovy installation on the machine where Hudson is running. 在Gantinstallation部分,键入一个惟一的名称以及Groovy安装到运行Hudson的机器上的位置。 www.ibm.com 6. Groovy functions require the def keyword, and you can think of them as globally static methods available within a script's scope. Groovy函数需要def关键字,可以将关键字想像为在脚本范围内可用的全局静态方法。 www.ibm.com 7. Direct support for Groovy sources would be particularly helpful. 对Groovy源代码的直接支持特别有帮助。 www.ibm.com 8. The setting includes these group strategy: Firewall, correspond immediately, groovy safety is installed, etc. 这些组策略设置包括:防火墙,即时通信,常规安全设置,等等。 dictsearch.appspot.com 9. Classpaths are always important, so I've taken special care to create a proper classpath for Groovy to run. 类路径Classpath总是很重要,所以我专门为了让Groovy运行特别创建了一个正确的classpath。 www.ibm.com 10. 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闭包添加自己的代码来自定义启动和关闭进程。 www.ibm.com 1. Jakarta Commons Lang: These helper utilities for the java. lang API include classes you can use for metaprogramming with Groovy. JakartaCommonsLang:这些用于java.langAPI的helper实用工具包括可用于Groovy元编程的类。 www.ibm.com 2. Scott talked about Failsafe database inserts and deletes in BootStrap. groovy to avoid duplicate records in the database. Scott提到了在BootStrap.groovy中利用Failsafe数据库进行插入和删除以避免数据库中的重复记录。 www.infoq.com 3. script, shown in Listing 6. To get at the namespaced elements, you need to declare a couple of groovy. xml. Namespace variables. 要获取具有名称空间的元素,需要声明几个groovy.xml.Namespace变量。 www.ibm.com 4. You've now seen several different ways to configure Groovy language beans and how easy it is to use them in your Spring-based applications. 您已经看到了配置Groovy语言bean的一些不同的方式,以及在基于Spring的应用程序中使用它们是多么容易。 www.ibm.com 5. Although I'm only mentioning the plugin for IntelliJ IDEA, for your Groovy developments, you don't have to change your habits. 尽管我仅仅表扬了IntelliJIDEA的Groovy插件,但是你不必因此改变你的Groovy开发习惯。 www.infoq.com 6. Everyone from experienced Java architects to non-Java programmers can easily grasp the intention of the code. 任何人,无论是经验丰富的Java架构师还是非Java程序员,都能轻易地掌握Groovy代码的意图。 www.ibm.com 7. Groovy TagLibs and partial templates give you a more sophisticated way of sharing code and behavior across Web pages. GroovyTagLibs和片段模板提供了在Web页面之间共享代码和行为的一种更成熟的方式。 www.ibm.com 8. We will be able to access this set of name-value pairs in our Groovy code using Zero's global context. 我们将能够使用Zero全局上下文来访问Groovy代码中的这组名称-值对。 www.ibm.com 9. In the column on Ant scripting with Groovy, I wrote a simple utility that generated a checksum report of class files. 在使用Groovy编写Ant脚本的专栏中,我曾经编写了一个简单的工具,它对类文件产生校验和报告。 www.ibm.com 10. 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文件。 www.ibm.com 1. The expression language used by the play template engine is Groovy, which provides a syntax consistent with Java. Play模板引擎使用的表达式语言是Groovy,它提供了一种和Java一致的语法。 www.bing.com 2. This is why Groovy introduced the concept of a delegate. 这就是为什么Groovy要引入delegate概念。 www.ibm.com 3. Dynamic languages like Groovy make implementing custom-AOP infrastructure painless. 象Groovy这样的动态语言可以无痛地实现自定义的AOP。 www.infoq.com 4. The new Groovy support can be used to write different OpenXava components like JPA entities, actions, and the test cases. 新的Groovy支持可用于编写不同的OpenXava组件,如JPA实体、Action以及测试类。 www.infoq.com 5. A groovy application for your mobile phone that will literally make your eyes spin. 一个有趣的手机软件,它将毫不夸张地把你弄得天旋地转。 dictsearch.appspot.com 6. Although a good IDE is almost a requirement for writing Java code these days, the same isn't necessarily true when it comes to Groovy. 虽然拥有一个优秀的IDE对于目前编写Java代码来说几乎成为了一项必要要求,但是对于Groovy来说并非绝对。 www.ibm.com 7. The screenshot shows the debugger at a breakpoint inside the around security Closure in Runner. groovy. 截屏显示了处于Runner.groovy中的around安全闭包中的断点的调试器。 www.infoq.com 8. So, what does the groovy processing measure after the patient art of lumbar protrusion of the intervertebral disc have? 那么,腰椎间盘突出症的患者术后常规的处理措施有哪些呢? dictsearch.appspot.com 9. You've heard people say for years that Groovy is a dynamic programming language for the JVM. But what does that really mean? 人们一直以来都认为Groovy是一种面向JVM的动态编程语言。 www.ibm.com 10. 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技巧仍然奏效也不足为奇。 www.ibm.com 1. In the last installment, I showed two different syntaxes in Groovy for open classes. 在上一期中,我展示了Groovy中打开类的两种不同的语法。 www.ibm.com 2. Grails supports Spring configuration through an alternate file: resources. groovy. Grails通过一个替代文件resources.groovy支持Spring配置。 www.ibm.com 3. conf files; the parsing code from this method is copied from the previous tutorial and modified slightly to use a more Groovy-like syntax. 此方法中的解析代码是从前一教程复制过来的,并稍微进行了一些修改,以获得更类似Groovy的语法。 www.ibm.com 4. Groovy offers several features that make building DSLs easier. Support for quantities is a common requirement in DSLs. Groovy提供各种特性使构建DSL更为容易,在DSL中支持数量是一个常见的需求。 www.ibm.com 5. Wouldn't you agree, baby you and me got a groovy kind of love? 宝贝,你和我的爱情难道不奇妙无比? homepage.mac.com 6. Yes, that's two lines of Groovy and we have a namespace-aware XML parser and a map builder. It's almost too good to be true! 没错,就两行Groovy代码,我们使用了一个命名空间感知的XML解析器和一个map构建器。 www.infoq.com 7. The resources directory in a WebSphere sMash application treats Groovy files in a unique way. WebSpheresMash应用程序中的资源目录以独特的方式处理Groovy文件。 www.ibm.com 8. Groovy Eclipse comes with an embedded Groovy runtime library that is split off as its own Eclipse plugin (or in OSGi parlance, bundle). GroovyEclipse包含一个内嵌的Groovy运行时库,它本身是一个独立的Eclipseplugin(或者按OSGi的说法,一个bundle)。 www.infoq.com 9. Spring's support for Groovy lets you make such changes to a deployed application and have them take effect immediately. Spring支持Groovy之后,您可以这样更改一个已部署的应用程序,并使这些更改立即生效。 www.ibm.com 10. I mentioned earlier that Groovy's SwingBuilder makes it possible to construct GUIs in an extremely simple manner. 前面我曾提到过,Groovy的SwingBuilder使它能够以一种极为简单的方式构造GUI。 www.ibm.com 1. Our web controller implements a "save" method, and we've mocked up a model Object using powerful Groovy features (Expando and Closures). 我们的控制器实现了一个“save”方法,使用强大的Groovy特性(Expando和闭包),我们模拟出一个模型对象。 www.infoq.com 2. In Groovy, using the def keyword allows me to take advantage of duck-typing. 在Groovy中,由于使用def关键字,而允许利用duck-typing。 www.ibm.com 3. A Groovy configuration file is almost a domain-specific language (DSL) for storing your configuration settings. 几乎可以说Groovy配置文件是用于存储配置设置的域相关语言(DSL)。 www.ibm.com 4. Of course, the JSR-compliant parser has rendered some now "classic" syntax incompatible with the new Groovy. 当然,符合JSR的解析器也给新Groovy带来一些与目前“经典”语法不兼容的地方。 www.ibm.com 5. Once you create the plug-in project, edit the ShiroWebXmlPlugin. groovy file, and add the code shown in Listing 7. 创建了这个插件项目后,编辑ShiroWebXmlPlugin.groovy文件,并添加如清单7所示的代码。 www.ibm.com 6. Once again, I am taking advantage of the seamless integration between the Java language and Groovy. 我再次利用了Java语言和Groovy之间的无缝集成。 www.ibm.com 7. With Groovy and its support for duck-typing, there is no casting involved. 有了Groovy及其对duck-typing的支持,将不再需要强制转换。 www.ibm.com 8. After groovy disinfection, use weak stimulation and medium and exciting technique commonly. 常规消毒后,一般用弱刺激和中等刺激手法。 dictsearch.appspot.com 9. Template engines are like XSLT and can produce any format for which a template is defined, including XML, HTML, SQL, and Groovy code. 模板引擎与XSLT很类似,可以产生模板定义的任何格式,包括XML、HTML、SQL和Groovy代码。 www.ibm.com 10. Notice the correlation between the virtual named resource and the Groovy handler's file name. 请注意虚拟命名资源和Groovy处理程序的文件名称之间的关系。 www.ibm.com 1. I categorize Groovy's overloadable operators into three logical groups: comparison operators, math-like operators, and array-like operators. 我把Groovy的可重载操作符分成三个逻辑组:比较操作符、算术类操作符和数组类操作符。 www.ibm.com 2. Ability to run Groovy classes, scripts and JUnit test cases written in Groovy. 可以运行Groovy类,脚本和用Groovy写的JUnit测试用例。 www.infoq.com 3. By the way, if you're getting dizzy, don't be surprised: Using overload operators turns the Groovy language almost backwards. 顺便说一句,如果感觉迷糊,不要惊讶:使用重载操作符差不多让Groovy语言退步了。 www.ibm.com 4. I first wrote about the def keyword in the original Feeling Groovy article, a few months back. 在几个月前的alt.lang.jre:感受Groovy一文中,我第一次介绍了def关键字。 www.ibm.com 5. In " Smooth Operators, " you learned that Groovy supports operator overloading. 在“美妙的操作符”中,您了解到Groovy支持操作符重载。 www.ibm.com 6. The Command design pattern appears in Groovy as a code block, which is anything defined within free-standing curly braces ({ and }). 命令设计模式作为代码块出现在Groovy中,是定义在独立的花括号({和})中的任何东西。 www.ibm.com 7. Although this Groovy shortcut syntax for Maps is undeniably cool, it is also the source of a common gotcha when you use reflection on Maps. 不可否认,Groovy针对Map的这种便捷语法非常酷,但这也是在对Map使用反射时引起一些常见问题的原因。 www.ibm.com 8. I'll conclude with a working example that shows you, first hand, how to integrate these groovy features with Eclipse and Maven. 最后,我用一个实用的示例进行总结,用第一手材料向您展示如何把groovy的这些特性与Eclipse和Maven集成在一起。 www.ibm.com 9. Debugger: You can debug step by step across your Java and Groovy code, set breakpoints, show variables, the current stack, etc. 调试器:你可以一步一步地运行你的Java和Groovy代码,设置断点,显示变量,当前的堆栈信息等等。 www.infoq.com 10. The Groovy script that you just wrote is almost like executable pseudocode. 您刚刚编写的Groovy脚本几乎和可执行的伪代码一样。 www.ibm.com 1. Essentially, builders allow you to easily represent nested tree-like data structures, such as XML documents, in Groovy. 实际上,生成器允许您很方便地在Groovy中表示树形数据结构,例如XML文档。 www.ibm.com 2. Just when you thought you'd learned it all, it turns out there are a few more ways to play with Groovy in the Java language. 就在您以为自己已经掌握全部的时候,我要告诉您的是,还有更多在Java语言中使用Groovy的方法。 www.ibm.com 3. In reality, Groovy calls the default no-argument constructor first and then calls the appropriate setter for each field. 事实上,Groovy先调用默认的无实参构造函数,然后调用每个字段的相应setter。 www.ibm.com 4. Looking back at Config. groovy, you notice that logging output for the org. hibernate package is set to off. 再回过头看看Config.groovy,您会发现org.hibernate包的登录输出被设置为off。 www.ibm.com 5. By choosing to implement in Groovy, you can utilize an Eclipse plug-in to facilitate application creation and testing. 选择在Groovy实现,我们可以利用一款Eclipse插件来加速应用程序的创建和测试。 www.ibm.com 6. The next statement creates a groovy. xml. MarkupBuilder. 下一条语句创建了groovy. www.ibm.com 7. They also present a different way to handle behavior -- something Groovy (and its distant cousin Ruby) rely on heavily. 它们还代表处理行为的另外一种方式——而Groovy(以及它的远亲Ruby)对它有非常严重的依赖。 www.ibm.com 8. Obviously, Groovy's first class support for closures makes some tasks that are onerous in Java a breeze. Groovy一流的闭包支持,让一些在Java中十分艰巨的任务变得轻而易举。 www.infoq.com 9. The Groovy language, version 1. 7, was recently released supporting refinements to the language itself as well as library enhancements. 近日Groovy1.7发布了,该版本对语言本身进行了优化,同时增强了程序库。 www.infoq.com 10. Groovy project page: Download Groovy and learn more about closures and closure composition. Groovy项目页面:下载Groovy并学习更多有关闭包和闭包复合的内容。 www.ibm.com 1. We also take advantage of Groovy's convenient parameter naming support to instantiate our AopDetails Object. 我们也利用了Groovy所支持的非常方便的参数命名来实例化AopDetails对象。 www.infoq.com 2. And even more groovy, you can see a swim-lane representation of all the actions in a use case organized by actor. 更妙的是,你还可以看到一个泳道图,图中显示了在由某个Actor组织在一起的用例中所有的动作。 www.infoq.com 3. In all cases, these technologies are complementary, and in most cases, Groovy is the simpler alternative for on-the-fly development. 无论如何,这些技术是补充,在大多数情况下,Groovy是快速开发的更简单的一种选择。 www-128.ibm.com 4. Groovy is a dynamic language that runs on the JVM and seamlessly integrates with the Java language. Groovy是一种动态语言,它在JVM上运行,并且与Java语言无缝集成。 www.ibm.com 5. Bear in mind that I'm dealing with the same java. io. File class in both Groovy and the Java language. 注意,我在Groovy和Java语言中同时处理同一个java.io.File类。 www.ibm.com 6. Groovy: In transmit the frequency in measuring to answer (extent and phasic ) by compensation. 通例:在传输测量中的频率响应(幅度和相位)被抵偿。 dictsearch.appspot.com 7. Classic Groovy was quite flexible (and indeed terse) when it came to variable declarations. 经典的Groovy在变量声明上相当灵活(而且实际上很简洁)。 www.ibm.com 8. First, let's write a Groovy class that can hold the details of a method call that has just been intercepted. 首先,让我们书写一个Groovy类,它包含要被拦截方法调用的细节。 www.infoq.com 9. This tutorial guides you step-by-step through the fundamental concepts of Groovy. 本教程将逐步向您介绍Groovy的基本概念。 www.ibm.com 10. This also illustrates a recurring theme in Groovy: Make common coding conventions simple. 这也解释了Groovy中的一条反复强调的定律:使普通的编码规则变得简单。 www.ibm.com 1. This painting and static, flat paint an entirely different, more space with real icing on the cake, Groovy. 这幅画和那些静态、平面画完全不同,具有真实的多空间立体感,奇妙无比。 www.bing.com 2. GPars - Groovy Parallel Systems: Get started with Groovy's actor-based framework for concurrent programming on the Java platform. GPars-Groovy并行系统:开始使用Groovy基于角色的框架在Java平台上进行并发编程。 www.ibm.com 3. Because this kind of relationship doesn't exist in the Java language, Groovy had to introduce a new concept: delegates. 由于Java语言中不存在这种关系,因此Groovy必须引入一个新的概念:委托(delegate)。 www.ibm.com 4. Groovy shares the same libraries, the same object model, the same threading model, and the same security model as Java. Groovy与Java共享同样的库,同样的对象模型,同样的线程模型,同样的安全模型。 www.infoq.com 5. The rules on Groovy variables have probably taken the hardest hit with the new JSR-compliant syntax. Groovy的变量规则对新的符合JSR的语法的打击可能最大。 www.ibm.com 6. Thanks to the conciseness of the Groovy language, many people choose to use a simple text editor instead. 得益于Groovy语言的简明性,许多人都选择使用简单的文本编辑器编写。 www.ibm.com 7. Listing 7 shows the RESTdoc comments for the httpd. groovy file; the method implementations have been removed for brevity. 清单7显示httpd.groovy文件的RESTdoc注释;为简便起见,实现方法已被移除。 www.ibm.com 8. In other words, if you are a C# developer, learning VB. NET or Java will not help you as much as learning Ruby or Groovy. 打个比方,如果你是C#程序员,学习VB.NET或者Java对你的帮助就没有学习Ruby或者Groovy大。 www.bing.com 9. I won't tackle Scala Groovy integration in this article, although there is a lot of potential synergy between the two languages. 在本文中我不打算讨论Scala和Groovy的集成,尽管在这两种语言之间确实有许多协作的可能性。 www.ibm.com 10. Project Zero lets you create a Groovy file, a handler, to serve as the named resource. ProjectZero允许您创建Groovy文件(它是一个处理程序)来提供命名资源。 www.ibm.com 1. The examples in the article are written in the Java language; however, I've redefined them below using Groovy. 这篇文章中的示例是用Java语言编写的;但是,我在下面用Groovy重新定义了这些示例。 www.ibm.com 2. Like all of Groovy, the syntax was designed for a short learning curve and a big payoff. 像所有Groovy一样,语法的设计目标是较短的学习曲线和较大的回报。 www.ibm.com 3. Beijing has rich offerings when it comes to art, music, groovy boutiques and quiet temples. 北京拥有丰富的产品的时候,艺术,音乐,妙趣时装店和宁静的寺庙。 www.sjgcz.cn 4. As nice as the JConsole GUI is, it's even nicer being able to make changes from a Groovy script. JConsoleGUI非常漂亮,能够从Groovy脚本进行更改更是增加了它的魅力。 www.ibm.com 5. My girlfriend got a new hairstyle today. She looks really groovy now. 今天我的女友弄了个新发型。现在她看起来很迷人。 www.xianzai.cn 6. That all changed when Groovy 1. 5 was released a year later. 一年以后发行的Groovy1.5则发生了翻天覆地的变化。 www.ibm.com 7. The form will submit to a groovlet; accordingly, create a groovy folder inside the WEB-INF directory in your project. 表单将提交给一个groovlet;相应地,在项目的WEB-INF目录中创建一个groovy文件夹。 www.ibm.com 8. Other implementers of Groovy IDEs are certainly struggling with similar problems, is there any collaboration going on? GroovyIDE的其他实现一定也在努力解决类似的问题,你们之间有协作吗? www.infoq.com 9. Listing 1 is a Groovy script named backupAirports. groovy that backs up the records from the airport table. 清单1是一个名为backupAirports.groovy的Groovy脚本,它备份了airport表的记录。 www.ibm.com 10. Another cool feature we are considering to implement is cross language refactoring between Java and Groovy. 我们正在考虑实现的另一个比较酷的特性是,Java和Groovy语言间跨语言的重构特性。 www.infoq.com 1. The latest improvements in this area added support for Groovy and Grails applications. 最近的改进中添加了对Groovy和Grails应用程序的支持。 www.infoq.com 2. This time use Groovy's shorthand notation (the 'it' object) for the closure. 这次将对闭包使用Groovy的简化符号(‘it’对象)。 www.ibm.com 3. You saw classic Groovy parameter syntax for closures in Listing 21 of " Feeling Groovy, " where I demonstrated iteration. 在“alt.lang.jre:感受Groovy”的清单21中,我演示了迭代,查看了用于闭包的经典Groovy参数语法。 www.ibm.com 4. In fact, decision-making independent character is a cover only, as normative company, the group is decision-making it is groovy . 事实上,决策独立性只是个幌子,作为规范公司,群体决策是常规。 dictsearch.appspot.com 5. Run-time substitution is actually a common feature among dynamic languages, and, as usual, Groovy takes things one step further. 运行时替换实际上是动态语言的一个通用特性;与其他情况一样,Groovy还会更进一步。 www.ibm.com 6. Does that mean that you can execute Groovy source code directly? 这是否意味着可以直接执行Groovy源代码? www.ibm.com 7. It's also a near-perfect fit for reporting applications and, most importantly, unit testing. 对于报表应用程序来说,Groovy脚本也是近乎完美的选择,而最重要的是,对单元测试更是如此。 www.ibm.com 8. Groovy mailing list: Browse, search, or subscribe to the Groovy mailing list. Groovy邮件列表:浏览、搜索或订阅Groovy邮件列表。 www.ibm.com 9. Until then, I hope that you find plenty of practical uses for Groovy. 到那时,希望您能够发现Groovy的许多实际应用。 www.ibm.com 10. The Groovy interpreter compiles the source code in-memory before handing it off to the JVM. Groovy解释器将先在内存中编译源代码,然后再将其转到JVM中。 www.ibm.com 1. The analysis of the abstract syntax tree of the Groovy code, allows us to collect all relevant information we need. 对于Groovy代码的抽象语法树的分析,可以让我们搜集到我们需要的所有相关信息。 www.infoq.com 2. Either way, the point is that in JSR Groovy, I have to precede the variable with something. 不论哪种方法,重要的一点是:在JSRGroovy中,必须在变量前加上某些东西。 www.ibm.com 3. To start, you need to define an interface to serve as the contract that your Groovy beans follow. 首先,需要定义一个接口作为Groovybean必须遵从的约定。 www.ibm.com 4. To run the unit test, type groovy PropertiesTest at the command line. 要运行单元测试,在命令行中键入groovyPropertiesTest。 www.ibm.com 5. Gaelyk is a Groovy framework whose terse syntax and coding shortcuts I'll leverage to quickly build my GAE web application. Gaelyk是Groovy框架,我将利用其简洁的语法和编码快捷方式来快速地建立我的GAEweb应用程序。 www.ibm.com 6. Netflix, which has a famously groovy culture, worked this out some time ago. 众所周知Netflix有一套很棒的文化,这家公司一段时间以前已经解决了这个问题。 www.ftchinese.com 7. Looking closely at the Groovlet in Listing 5 should take you back to the time when you first started writing Groovy scripts. 仔细观察清单5中的Groovlet,会让您回想起第一次编写Groovy脚本的时候。 www.ibm.com 8. No flash outfits, groovy eco-friendly yoga mats or super flexible bodies needed here. 在这里,不需要迅捷的装备,也不需要常规的环保瑜伽垫,更不需要超级柔韧的身体。 www.elanso.com 9. Putting Groovy in charge of resource handling is extremely powerful. 让Groovy负责资源管理是极为强大的。 www-128.ibm.com 10. Groovy supports two different syntaxes for open classes: categories and the ExpandoMetaClass. Groovy支持两种不同的开放类语法:categories和ExpandoMetaClass。 www.ibm.com 1. If you reboot Grails, it reverts to the persistent settings in Config. groovy. 如果重新启动Grails,它会恢复到Config.groovy中的持久化设置。 www.ibm.com 2. To show off your work, you will need to create two projects: one to hold your Groovy wrapper code and one to hold your sample Ajax UI. 为了展示您的工作,您需要创建两个项目:一个存放Groovy包装器代码,另一个用于存放示例AjaxUI。 www.ibm.com 3. In all seriousness, think of Groovy's println shortcut as an implicit method pointer to System. out. println. 严格地说,可以把Groovy的println快捷方式当作System.out.println的隐式方法指针。 www.ibm.com 4. In the next sections, I'll show you how to use Groovy's autocalling feature to enable some sophisticated features in your templates. 在下一节中,我将向您展示如何使用Groovy的自动调用特性在您的模板中启用一些复杂的特性。 www.ibm.com 5. My colleague said that my new shoes were very groovy. It was a nice compliment. 我的同事说我的新鞋子很棒,这是一个很好的夸奖。 www.bing.com 6. First, add the groovy-all JAR (at the time of this writing, it is 1. 6. 4) into your project's classpath. 首先,在项目的类路径中添加groovy-allJAR(到编写本文时版本是1.6.4)。 www.ibm.com 7. Then type groovy -version to make sure that Groovy is properly installed. 然后键入groovy-version以确保Groovy已正确安装。 www.ibm.com 8. Of fracture following character nurse groovy ? 跟骨骨折的护理常规? dictsearch.appspot.com 9. A powerful new tool that supports the utilization of Ant within Groovy scripts. 这是一个强大的新工具,支持在Groovy脚本中利用Ant。 www-128.ibm.com 10. These functions can be referenced directly by name and can be defined in Groovy scripts, where they can seriously facilitate reuse. 这些函数可以直接用名称引用,并且可以在Groovy脚本中定义,这样非常有助于它们的重复使用。 www-128.ibm.com |
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。