GOOGLE GUAVA Presented by Briana Fulfer and Jimmy
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 Visble. For. Testing. com. google. common. base Basic Utilities Char. Matcher Equivalences Ticker com. google. common. base. internal Contains class called Finalizer
com. google. common. cache Contains caching utilities such as: Interfaces: Classes Abstract. Cache. Stats. Counter Removal. Listener Abstract. Cache And More com. google. common. collect A package of interfaces and classes that are used for collections Examples are: Min. Max. Priority. Queue Row. Sorted. Table
com. google. common. eventbus The Event. Bus 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. Input. Supplier interface Output. Supplier interface.
com. google. common. net This package contains utility methods and classes for working with net addresses (numeric IP and domain names). Inet. Addresses Internet. Domain. Name 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 ( Signed. Bytes and Unsigned. Bytes), Chars, Doubles, Floats, Ints, Longs (Unsigned. Longs), and Shorts. com. google. common. util. concurrent This package contains concurrency utilities. Commonly used types include Listenable. Future and Service. Commonly used utilities include Futures, More. Executors, and Thread. Factory. Builder.
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/v 10. 0. 1/javadoc/index. html
- Slides: 8