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

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

内容简介: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]


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

查看所有标签

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

图解Java多线程设计模式

图解Java多线程设计模式

[日] 结城浩 / 侯振龙、杨文轩 / 人民邮电出版社 / 2017-8 / 89.00元

本书通过具体的Java 程序,以浅显易懂的语言逐一说明了多线程和并发处理中常用的12 种设计模式。内容涉及线程的基础知识、线程的启动与终止、线程间的互斥处理与协作、线程的有效应用、线程的数量管理以及性能优化的注意事项等。此外,还介绍了一些多线程编程时容易出现的失误,以及多线程程序的阅读技巧等。在讲解过程中,不仅以图配文,理论结合实例,而且提供了运用模式解决具体问题的练习题和答案,帮助读者加深对多线......一起来看看 《图解Java多线程设计模式》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具