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

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

内容简介: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 核心工具库》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

The Haskell School of Expression

The Haskell School of Expression

Paul Hudak / Cambridge University Press / 2000-01 / USD 95.00

Functional programming is a style of programming that emphasizes the use of functions (in contrast to object-oriented programming, which emphasizes the use of objects). It has become popular in recen......一起来看看 《The Haskell School of Expression》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器