80 likes | 264 Views
GOOGLE GUAVA. Presented by Briana Fulfer and Jimmy Vo. Introduction. Google Guava is a project maintains java libraries, making them available to Java programmers. The latest release is 10.0.1 which was released in October 10, 2011. 10 packages in the latest release.
E N D
GOOGLE GUAVA Presented by Briana Fulfer and Jimmy Vo
Introduction • Google Guava is a project maintains java libraries, making them available to Java programmers. • The latest release is 10.0.1 which was released in October 10, 2011. • 10 packages in the latest release.
com.google.common.annotations • Contains annotation types such as: • Beta • GWTCompatible • GWTIncompatible • VisbleForTesting. • com.google.common.base • Basic Utilities • CharMatcher • Equivalences • Ticker • com.google.common.base.internal • Contains class called Finalizer
com.google.common.cache • Contains caching utilities such as: • Interfaces: • AbstractCache.StatsCounter • RemovalListener • Classes • AbstractCache • And More • com.google.common.collect • A package of interfaces and classes that are used for collections • Examples are: • MinMaxPriorityQueue • RowSortedTable
com.google.common.eventbus • The EventBus is designed exclusively to replace traditional Java in-process event distribution using explicit registration. • It dispatches events to listeners and provides ways for listeners to register themselves. • com.google.common.io • This package has utility classes and methods for working with Java I/O such as input streams, output streams, readers, writers, and files. • Many of the methods are used as factories for I/O. • InputSupplier interface • OutputSupplier interface.
com.google.common.net • This package contains utility methods and classes for working with net addresses (numeric IP and domain names). • InetAddresses • InternetDomainName • com.google.common.primitives • This package has Static utilities for working with the eight primitive types and void. • General static utilities: Primitives. • Per-type static utilities: Booleans, Bytes ( SignedBytes and UnsignedBytes), Chars, Doubles, Floats, Ints, Longs (UnsignedLongs), and Shorts. • com.google.common.util.concurrent • This package contains concurrency utilities. • Commonly used types include ListenableFuture and Service. • Commonly used utilities include Futures, MoreExecutors, and ThreadFactoryBuilder.
Conclusion In Java-based projects, several of Google's core libraries such as collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth are relied on . These Google's core libraries constitute the Guava project.
References • guava-libraries, https://code.google.com/p/guava-libraries/ • Guava: Google Core Libraries for Java 10.0.1 API, http://docs.guava-libraries.googlecode.com/git-history/v10.0.1/javadoc/index.html