设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Guava 18正式版发布,来自Google的Java类库

2014-9-10 16:41| 发布者: joejoe0332| 查看: 2614| 评论: 0|原作者: oschina|来自: oschina

摘要: Guava 18 正式版发布,此版本解决了 16 个 isuues,同时还有很多 API 改进: common.base MoreObjectsMethods in Objects which do not have equivalents in java.util.Objects have been moved to MoreObjects to ...

Guava 18 正式版发布,此版本解决了 16 个 isuues,同时还有很多 API 改进

common.base

  • MoreObjects

    • Methods in Objects which do not have equivalents in java.util.Objects have been moved to MoreObjects to allow importing of both classes. Those methods have been deprecated in our Objects class. Methods which do have equivalents in java.util.Objects will remain (undeprecated) in our Objects class as long as Guava continues to support JDK 6.

  • Converter.andThen(Converter<B, C>)

  • Enums - removed deprecated valueOfFunction` method.

common.collect

  • FluentIterable.of(E[])

  • FluentIterable.append(E...)

  • FluentIterable.append(Iterable<? extends E>)

  • FluentIterable.join(Joiner)

common.hash

  • Hashing.crc32c()

BloomFilter no longer recognizes the system property com.google.common.hash.BloomFilter.useMitz32 (see Release 17 - A note on BloomFilter for more information).

common.io

Methods which took an InputSupplier or OutputSupplier parameter or which returned an InputSupplier or OutputSupplier (all of which were deprecated in Guava 15.0) have been removed. Additionally, ByteSource, ByteSink, CharSource and CharSink no longer implement InputSupplier or OutputSupplier.

The InputSupplier and OutputSupplier interfaces, which no longer have any usages in Guava, will be deleted in December 2015.

common.net

  • InetAddresses.decrement(InetAddress)

common.reflect

  • Parameter.getAnnotationsByType(Class<A>)

  • Parameter.getDeclaredAnnotation(Class<A>)

  • Parameter.getDeclaredAnnotationsByType(Class<A>)

common.util.concurrent

  • MoreExecutors.directExecutor() - lightweight, simple Executor that runs tasks on the thread that invokes execute.

  • MoreExecutors.newDirectExecutorService() - heavier ListeningExecutorService implementation of the same thing; equivalent to sameThreadExecutor(), which has been deprecated.

此版本现已提供下载:


Guava Guava (GWT)
Maven Identifier com.google.guava:guava:18.0 com.google.guava:guava-gwt:18.0
Jar guava-18.0.jar guava-gwt-18.0.jar
Javadoc guava-18.0-javadoc.jar guava-gwt-18.0-javadoc.jar
Sources guava-18.0-sources.jar guava-gwt-18.0-sources.jar



酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部