Guava 25.0 已发布,更新如下:
cache
: 将 java.time.Duration
重载(overload) 添加至 CacheBuilder
(9bf6d95)io
: 移除已弃用的 Files.fileTreeTraverser()
和 MoreFiles.directoryTreeTraverser()
(ce6d93c)更多细节可查阅发行列表
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>25.0-jre</version>
<!-- or, for Android: -->
<version>25.0-android</version>
</dependency>
领取专属 10元无门槛券
私享最新 技术干货