Java : Introduction to Guava Core Library
download Jar :http://mvnrepository.com/artifact/com.google.guava/guavahttp://docs.guava-libraries.googlecode.com/git/javadoc/overview-summary.html
(Visit the above JavaDoc for more information and usage . click on Frames to view complete classes)
What Is Guava ?
- Open Source libraries provided by Google
- provides utility methods
Most Frequently Used Classes
1. Optional - facilitate the code to handle values as available or not available instead of checking null values.
2. Preconditions - provide static methods to check that a method or a constructor is invoked with proper parameters.
3. Ordering - multiple utility methods, multi-type sorting capability, etc
4. Objects - provides helper functions applicable to all objects such as equals, hashCode, etc.
5. Range - represents an interval or a sequence. It is used to get a set of numbers/ strings lying in a particular range.
6. Throwables - Static class provides utility methods related to Throwable interface.
7. Collections Utilities - Provides utility api for handling ArrayLists,Lists,Maps,Sets etc .,
8. String Utilities - Provides utility api for Strings.(Splitter ,Joiner, CaseFormats etc., are one of them)
9. Math Utilities - For performing Mathoperations
No comments:
Post a Comment