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

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

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

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

更新内容如下:

  • Java 7 VM 下运行 guava-android 时,引入了一个 warning log message(Android VMs 不受影响)。这个 warning 为 2021 年移除对 Java 7 的支持做好了准备。(需要说明的是,Guava 在 Java 8 或 Android 下不会 log,但在 Java 7 下可能会 log。)
  • base:已弃用 StandardSystemProperty.JAVA_EXT_DIRS。官方表示,其不打算删除该 API,但请注意,在最近的 Java 版本中,该属性的值总是为 null。
  • net:为 Origin-Isolation 和 X-Request-ID 添加了 HttpHeaders 常量。
  • reflect:添加了 ClassInfo.isTopLevel()。
  • util.concurrent:添加了 ClosingFuture.submitAsync(AsyncClosingCallable)。

详情可查看更新说明:https://github.com/google/guava/releases/tag/v30.1

Maven

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

以上所述就是小编给大家介绍的《Guava 30.1 发布,Google 的 Java 核心工具库》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

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

We Are the Nerds

We Are the Nerds

Christine Lagorio-Chafkin / Hachette Books / 2018-10-2 / USD 18.30

Reddit hails itself as "the front page of the Internet." It's the third most-visited website in the United States--and yet, millions of Americans have no idea what it is. We Are the Nerds is an eng......一起来看看 《We Are the Nerds》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

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

html转js在线工具

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

HSV CMYK互换工具