Home United States USA — software Google Guava and Its Two Fantastic Libraries: Graph and Eventbus

Google Guava and Its Two Fantastic Libraries: Graph and Eventbus

255
0
SHARE

The main idea behind it was to include generics introduced in JDK 1.5 into Java Collections Framework, or JCF, and enhance its capability.
Join the DZone community and get the full member experience. Guava is an open-source library that developed with Google to meet the daily needs of programmers; actually, Guava prevents code duplication that may be written by programmers all around the world. In addition to eliminating boilerplate codes, Guava makes programming easier and more efficient with better performance. Personally, I think Google used Artificial Intelligence to recognize Java developer’s requirements by using their daily searches. Google Guava is a Google project, mainly developed by Google’s developers, but it’s been open-sourced now. The main idea behind it was to include generics introduced in JDK 1.5 into Java Collections Framework, or JCF, and enhance its capability. In general, Guava consists of three major components: First, basic utilities to reduce manual labor to implement common methods and behaviors and sometimes boilerplate codes. Second, a complementary component for current collection frameworks such as Java collections framework (JCF) formerly called the Google Collections Library and apache commons-collections, actually Guava is an extension for JCF but it has many more features than apache common collections you can see a comparison between Google Guava and Apache Commons Collections here. Third, other utilities which provide convenient and productive features such as functional programming, you can a list of some important Guava utilities in the below table.

Continue reading...