发布于 2017-11-23 23:55:05 | 245 次阅读 | 评论: 0 | 来源: 网友投递

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

Guava Java类库

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


Guava 23.5 已发布,Guava 是 Google 的一个开源项目,包含许多 Google 核心的 Java 常用库,如:集合 [collections] 、缓存 [caching] 、原生类型支持 [primitives support] 、并发库 [concurrency libraries] 、通用注解 [common annotations] 、字符串处理 [string processing] 、I/O 等等。

在新版中 ImmutableMap.getOrDefault 现已可以在 Android flavor 中使用。在 IO 方面,添加了Files.fileTraverser()MoreFiles.fileTraverser(),并弃用了 Files.fileTreeTraverser()MoreFiles.directoryTreeTraverser()。还包含以下更新内容:

  • base: Graduated Verify and VerifyException from @Beta. (0ad9c44)

  • collectImmutableMap.getOrDefault is now also available in the Android flavor. (1e4938c)

  • graph: Tightened the contract for the edge-adding methods on Mutable{Graph, Network, ValueGraph}. This is a breaking change; implementors of these interfaces should verify that they still comply with this contract. (ec48806)

  • io: Added Files.fileTraverser() and MoreFiles.fileTraverser(). (af7514a)

  • io: Deprecated Files.fileTreeTraverser() and MoreFiles.directoryTreeTraverser(). (1644f6e)

  • Migrated from jsr305's @Immutable to Error Prone's. (901e985)

  • Added a dependency on, but did not begin using, the Checker Framework.

Maven

<dependency>    <groupId>com.google.guava</groupId>    <artifactId>guava</artifactId>    <version>23.5-jre</version>    <!-- or, for Android: -->    <version>23.5-android</version>  </dependency>

Javadoc

JDiff

下载地址:https://github.com/google/guava/releases/tag/v23.5



历史版本 :
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号  版权声明  广告服务