Guava 28.2 release, Google's Java core library tool

Guava 28.2 released, Guava is a Google open source project, contains many of Google's core Java commonly used libraries, such as: collection [collections], the cache [caching], native type support [primitives support], concurrency library [concurrency libraries], Common Annotations [common annotations], string processing [string processing] and I / O and the like.

Updates are as follows:

  • GWT-RPC warning to users: the first version in 2020 Guava will remove support for GWT serialization type of Guava
  • base: Added Splitter.splitToStream ()
  • Concurrency: Added Futures.submit ()
  • Concurrency: the platformThreadFactory () and related utilities (mainly * Service) working in Java 11 App Engine, App Engine and adjust other thread behavior
  • Concurrency: add a catch to AbstractFuture.toString in StackOverflowError
  • Concurrent: thenable achieved by making ListenableFuture GWT / j2cl the default interface methods
  • Chart: Fixed AbstractNetwork.hasEdgeConnecting () is an error, if the end point is not in either the drawing, the error is raised
  • math: add support to the Stream Stats and StatsAccumulator
  • math: Add a Quantiles compute () method
  • net: Added support for IPv6 address range of ID
  • net: Add to BigInteger and fromIpv4BigInteger / fromIpv6BigInteger to InetAddresses
  • net: Added Constant application / opensearchdescription + xml MediaType constants and MPEG-DASH and header Cross-Origin-Opener-Policy of
  • net: MediaType so reject the null type, and subtypes and non-ASCII parameter values; in addition, can also empty parameter values ​​quoted string into a sequence of
  • Adding to several types @DoNotMock
  • Removed dependency on animal-sniffer-annotations of

Update Description: https://github.com/google/guava/releases/tag/v28.2

Maven

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

Guess you like

Origin www.oschina.net/news/112407/guava-28-2-released