
Linuxeden 开源社区 --
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: GraduatedVerifyandVerifyExceptionfrom@Beta. (0ad9c44)collect:ImmutableMap.getOrDefaultis now also available in the Android flavor. (1e4938c)graph: Tightened the contract for the edge-adding methods onMutable{Graph, Network, ValueGraph}. This is a breaking change; implementors of these interfaces should verify that they still comply with this contract. (ec48806)io: AddedFiles.fileTraverser()andMoreFiles.fileTraverser(). (af7514a)io: DeprecatedFiles.fileTreeTraverser()andMoreFiles.directoryTreeTraverser(). (1644f6e)- Migrated from jsr305’s
@Immutableto 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
转自 http://ift.tt/2B6LJbQ
The post Guava 23.5 版本发布,Google 的 Java 核心库 appeared first on Linuxeden开源社区.
http://ift.tt/2iMfyb3
没有评论:
发表评论