Groovy 2.5.0 发布,JVM 动态脚本语言

栏目: Groovy · 发布时间: 7年前

内容简介:Apache Groovy 2.5.0 已发布。此版本包含大量修复和依赖更新,并包含以下新特性:下载地址:Groovy 是一门基于 JVM 的敏捷开发语言,它结合了 Python、Ruby 和 Smalltalk 的许多强大的特性。

Apache Groovy 2.5.0 已发布。此版本包含大量修复和依赖更新,并包含以下新特性:

  • [ GROOVY-6744 ] - Have the elvis operator (?:) support the Optional type in Java 8

  • [ GROOVY-7089 ] - Base64 URL Safe encoder

  • [ GROOVY-7313 ] - "relativePath" extension method

  • [ GROOVY-7353 ] - Groovy should provide a MapConstructor AST transform

  • [ GROOVY-7479 ] - Groovy should provide "inits" and "tails" DGM methods for lists

  • [ GROOVY-7657 ] - add groovy macro module

  • [ GROOVY-7745 ] - Add Map#removeAll(Closure) and Map#retainAll(Closure)

  • [ GROOVY-7746 ] - Add BufferedIterator and Groovy JDK methods for it

  • [ GROOVY-7755 ] - Add Extension Methods for JAXB Marshalling and Unmarshalling Support

  • [ GROOVY-7860 ] - Groovy could implement an @AutoImplement transform

  • [ GROOVY-7956 ] - Provide an AST transformation which improves named parameter support

  • [ GROOVY-8091 ] - Add a ASMifier tab to AstBrowser

  • [ GROOVY-8095 ] - Provide logging for bytecode generation

  • [ GROOVY-8138 ] - Compile static to support streams

  • [ GROOVY-8234 ] - Add @Repeatable java8 annotation support

  • [ GROOVY-8300 ] - Groovy should have an @AutoFinal annotation

  • [ GROOVY-8334 ] - Java 8 Date/Time type support in Groovy JDK

  • [ GROOVY-8352 ] - Add a @Generated annotation to mark generated members

  • [ GROOVY-8500 ] - Support logging the stacktrace of bytecode generation

  • [ GROOVY-8516 ] - Add DGM `md5`

  • [ GROOVY-8518 ] - Add DGM `digest`

  • [ GROOVY-8558 ] - Add DGM `getLocation` to get the url of the jar containing the specified class

  • [ GROOVY-8559 ] - CLONE - Add @Repeatable java8 annotation support

下载地址: http://www.groovy-lang.org/download.html

Groovy 是一门基于 JVM 的敏捷开发语言,它结合了 PythonRuby 和 Smalltalk 的许多强大的特性。

Groovy主要的特点包括:

  • 是一个基于 Java 虚拟机 的敏捷 动态语言

  • 构建在强大的 Java 语言之上 并 添加 了从 Python、Ruby 和 Smalltalk 等语言中学到的 诸多特征

  • 为 Java 开发者提供了 现代最流行的编程语言特性 ,而且学习成本很低(几乎为零)。

  • 支持 DSL(Domain Specific Languages 领域定义语言)和其它简洁的语法,让你的代码变得易于阅读和维护。

  • Goovy 拥有处理原生类型,面向对象以及一个 Ant DSL ,使得创建 Shell Scripts 变的非常简单。

  • 在开发 Web,GUI,数据库或控制台程序时 通过 减少框架性代码 大大提高了开发者的效率。

  • 支持单元测试和模拟(对象),可以 简化测试

  • 无缝集成所有已经存在的  Java 对象和类库

  • 直接编译成 Java 字节码,这样可以在任何使用 Java 的地方使用 Groovy 。


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

HTML 5实战

HTML 5实战

陶国荣 / 机械工业出版社 / 2011-11 / 59.00元

陶国荣编著的《HTML5实战》是一本系统而全面的HTML 5教程,根据HTML 5标准的最新草案,系统地对HTML 5的所有重要知识点进行了全面的讲解。在写作方式上,本书以一种开创性的方式使理论与实践达到极好的平衡,不仅对理论知识进行了清晰而透彻的阐述,而且根据读者理解这些知识的需要,精心设计了106个完整(每个案例分为功能描述、实现代码、效果展示和代码分析4个部分)的实战案例,旨在帮助读者通过实......一起来看看 《HTML 5实战》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换