Guava 26.0 发布,Google 的 Java 核心工具库

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

内容简介:Guava 26.0 已发布,更新如下: base: Removed deprecated public static fields from CharMatcher. Use the equivalent public static methods instead. (f1249c4) base: Fixed the ServiceConfigurationE...

Guava 26.0 已发布,更新如下:

  • base: Removed deprecated public static fields from CharMatcher. Use the equivalent public static methods instead. (f1249c4)

  • base: Fixed the ServiceConfigurationError that some users encountered when using Guava as a JPMS module. (8287cdf)

  • cache: Fixed a bug where Cache.asMap.compute* methods could cause nonsensical weights to be stored, breaking cache eviction. (15764d7)

  • concurrent: Removed deprecated Futures methods that implicitly use directExecutor(). (87d87f5)

  • concurrent: Added ExecutionSequencer, a new utility to run a series of asynchronous operations serially. (8d1fbc9)

  • concurrent: Removed special-casing UndeclaredThrowableException in Futures.transform(). (9466b62)

  • net: Changed HostAndPort.equals() and hashCode() to stop depending on whether brackets were included. Now they depend only on host and port. (34c1616)

  • net: Added HttpHeaders constant for Sec-Metadata header. (986a3a3)

  • net: Added MediaType for "application/hal+json". (fea88fe)

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

Maven

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

Javadoc

JDiff

下载地址:


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


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

查看所有标签

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

Effective STL中文版

Effective STL中文版

[美]Scott Meyers / 潘爱民、陈铭、邹开红 / 清华大学出版社 / 2006-1 / 30.00元

STL是C++标准库的一部分。本书是针对STL的经验总结,书中列出了50个条款,绝大多数条款都解释了在使用STL时应该注意的某一个方面的问题,并且详尽地分析了问题的来源、解决方案的优劣。一起来看看 《Effective STL中文版》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

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

HEX HSV 互换工具