Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Do you really want to delete this prezi?
Neither you, nor the coeditors you shared it with will be able to recover it again.
Make your likes visible on Facebook?
You can change this under Settings & Account at any time.
Transcript of Google Guava
What is Guava?
Image by Tom Mooring
What is Guava
What is Google Guava
The Google Guava is a set of common libraries for Java
Developed by core library team of Google
Battle-tested on production
guava-tests package includes over 286,000 individual test cases
Guavas (singular guava, /ˈɡwɑː.və/) are plants in the Myrtle family (Myrtaceae) genus Psidium, which contains about 100 species of tropical shrubs and small trees.
BSc in YTU
MSc in SU
Pros & Cons
Well designed and consistent
Is in active development
Functional support before Java 8
Less boiler-plate code
Functional programming support can be abused
Does not support JDK 1.4 and below
Functions Goin' Wild
Excessive use of Guava's functional programming idioms can lead to verbose, confusing, unreadable, and inefficient code. These are by far the most easily (and most commonly) abused parts of Guava, and when you go to preposterous lengths to make your code "a one-liner," the Guava team weeps.
JDK 8 Lambda Exp
is waiting for your questions
~Map<? extends Object, Integer>
Doesn't need to support mutation, and can make time and space savings with that assumption
Can be used as a constant