发布于 2014-07-14 09:51:04 | 369 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Guava Java类库

Google Guava Collections 是一个对 Java Collections Framework 增强和扩展的一个开源项目。由于它高质量 API 的实现和对 JDK5 特性的充分利用,使得其在 Java 社区受到很高评价。笔者主要介绍它的基本用法和功能特性。


Google Guava Collections 是一个对 Java Collections Framework 增强和扩展的一个开源项目。由于它高质量 API 的实现和对 JDK5 特性的充分利用,使得其在 Java 社区受到很高评价。笔者主要介绍它的基本用法和功能特性。

Guava 17.0 发布了,改进内容包括:

  1. 解决若干bug(8 issues

  2. API接口的调整  

                common.base

                Verify and VerifyException

                Converter.from(Function<A, B>, Function<B, A>)

    common.cache

                CacheLoader.asyncReloading(CacheLoader<K, V>, Executor)

    common.io

                ByteStreams.newDataInput(ByteArrayInputStream)

                ByteStreams.newDataOutput(ByteArrayOutputStream)

                Closeables.closeQuietly(InputStream)

                Closeables.closeQuietly(Reader)

    common.net

                HostAndPort.fromHost(String)

    common.util.concurrent

                Futures.inCompletionOrder(Iterable<ListenableFuture<T>>)

                MoreExecutors.shutdownAndAwaitTermination(ExecutorService, long, TimeUnit)

                Service (and subclasses) - deprecated methods removed.

  3. 优化布隆过滤器的性能(1119),注意如果你使用了BloomFilters,并且采用了序列化传递给另外的服务器和进程,那么你可能会遇到反序列化的问题。



历史版本 :
Guava 23.6 发布,Google 的 Java 核心库
Guava 23.5 版本发布,Google 的 Java 核心库
Guava 23.4 版本发布,Google 的 Java 核心库
Guava 23.3 版本发布,Google 的 Java 核心库
Guava v23.2 正式发布,Google 的 Java 核心库
Guava v23.1 正式发布,Google 的 Java 核心库
Guava v23.0 正式发布,Google 的 Java 核心库
Guava v23.0-rc1 发布,Google 的 Java 核心库
Guava 22.0 发布,Google 的 Java 核心库
Guava v22.0-rc1 发布,Google 的 Java 常用类库
Guava v21.0 发布,Google 的 Java 核心库
Guava v21.0-rc1,Google 的 Java 常用类库
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务