google/guava
Google core libraries for Java
项目说明
Guava: Google Core Libraries for Java
Guava is a set of core Java libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, primitives, strings, and more! It is widely used on most Java projects within Google, and widely used by many other companies as well.
Guava comes in two flavors:
- The JRE flavor requires JDK 1.8 or higher.
- If you need support for Android, use
the Android flavor. You can
find the Android Guava source in the
androiddirectory.
Adding Guava to your build
Guava's Maven group ID is com.google.guava, and its artifact ID is guava.
Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
for use on Android or by any library that wants to be compatible with Android.
These flavors are specified in the Maven version field as either 33.6.0-jre or
33.6.0-android. For more about depending on Guava, see
.
