Guava 23.4 已发布,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>23.4-jre</version> <!-- or, for Android: --> <version>23.4-android</version> </dependency>
Javadoc
JDiff
更新日志:
net
: AddedReferrer-Policy
toHttpHeaders
, along with possible values for that header inReferrerPolicyValues
. (19b4d97)util.concurrent
: Adjusted the interruption behavior ofMoreExecutors.sequentialExecutor()
to run tasks without aThread
interrupt marked (previously, interrupts leaked between tasks). If theThread
was interrupted when theExecutor
received it or during execution of its tasks, the thread will be re-interrupted before being yielded. Expanded the documentation ofMoreExecutors.sequentialExecutor()
to cover interruption and rejected execution behavior in detail. (40564c7)
下载地址:
转自 http://www.oschina.net/news/90437/guava-23-4-release