Guava 23.5 版本发布,Google 的 Java 核心库

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Guava 23.5 已发布,Guava 是 Google 的一个开源项目,包含许多 Google 核心的 Java 常用库,如:集合 [collections] 、缓存 [caching] 、原生类型支持 [primitives support] 、并发库 [concurrency libraries] ...

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


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


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

查看所有标签

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

Microsoft.NET框架程序设计

Microsoft.NET框架程序设计

Jeffrey Richter / 李建忠 / 清华大学出版社 / 2003-11 / 68.00元

《Microsoft.NET框架程序设计》(修订版)是《微软.NET程序员系列》丛书之一,主要介绍如何开发面向Microsoft.NET框架的各种应用程序。Microsoft.NET框架是微软公司推出的新平台,包含通用语言运行时(CLR)和.NET框架类库(FCL)。《Microsoft.NET框架程序设计》(修订版)将深入解释CLR的工作机制及其提供的各种构造,同时还将讨论FCL中一些重要的类型......一起来看看 《Microsoft.NET框架程序设计》 这本书的介绍吧!

html转js在线工具
html转js在线工具

html转js在线工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具