Google 的 Java 核心工具库 Guava 27.1 已于昨天正式发布 。
Guava 是 Google 的一个开源项目,包含许多 Google 核心 Java 常用库,如:集合 [collections] 、缓存 [caching] 、原生类型支持 [primitives support] 、并发库 [concurrency libraries] 、通用注解 [common annotations] 、字符串处理 [string processing] 与 I/O 等。
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>27.1-jre</version> <!-- or, for Android: --> <version>27.1-android</version> </dependency>
guava-bom
artifact). ( 0e59641
) @Beta
( 6242bdd
) net
: Added Sec-Fetch
headers to HttpHeaders
. ( 673b243
) net
: Added SourceMap
header to HttpHeaders
( a99c15f
) net
: Added MediaType
for "application/jose" and "application/jose+json". ( d416e04
) graph
: Added overloads to methods accepting pairs of nodes to also accept EndpointPair
; changed behavior of *Graph.edges().contains()
to allow undirected graphs to accept ordered EndpointPair
s. ( af3ee1c
)