001-guava Overview

I. Overview

  Guava project consists of a number by Google Java projects rely extensively on the core library, for example: a collection of [collections], the cache [caching], native type support [primitives support], concurrency library [concurrency libraries], Common Annotations [common annotations], string processing [string processing], I / O and the like. All of these tools in the Google engineers use every day in goods and services.

guava advantages:

  • Good efficient design API, the Google developers design, implement and use
  • Follow efficient java grammar practice
  • Make the code more scale, simple, simple
  • Saving time and resources, increasing productivity

Guava is Google project consists of a number of projects rely extensively on Java core libraries, such as:

  • Collections [collections]
  • Cache [caching]
  • Native type support [primitives support]
  • Concurrency library [concurrency libraries]
  • Common Annotations [common annotations]
  • String Processing [string processing]
  • I / O, etc., etc..

Second, the basic use

pom-dependent

<dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>28.0-jre</version>
</dependency>

Use by the program

 

Guess you like

Origin www.cnblogs.com/bjlhx/p/11582377.html