Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start 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.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Google Guava

No description
by

Sezin Karli

on 10 February 2014

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Google Guava

About me
What is Guava?
Features
Strings
Collections
Functionals
Questions
Features
Outline
Image by Tom Mooring
What is Guava
Google Guava
What is Google Guava
The Google Guava is a set of common libraries for Java

Open-source
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.
Sezin Karlı
caught.co.nr
Saint Joseph
BSc in YTU
MSc in SU
Alcatel-Lucent
www.caught.co.nr
Pros & Cons
Pros:
Well designed and consistent
Is in active development
Functional support before Java 8
Less boiler-plate code

Cons:
Functional programming support can be abused
Does not support JDK 1.4 and below


Collections
Functional Idioms
Strings
Hashing
Features skipped
Basic Utilities
Primitives
Caches
Concurrency
Networking
Ranges
I/O
EventBus
Math
Reflection
Strings
Splitter
Joiner
Misc
CharMatcher
Collections


Multiset
Multimap
Bimap
Immutables
Multimap
Bimap
Multiset
Immutables
Benefits
Functional Programming
Predicate
Function
Predicate
Functions Goin' Wild
Function
Remember
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.
Solution
Lambdaj
JDK 8 Lambda Exp
Functional Languages
Questions
is waiting for your questions
Multiset
~Map<? extends Object, Integer>
~Map<Object, List<Object>>
Multimap
Thread-safe
Doesn't need to support mutation, and can make time and space savings with that assumption
Can be used as a constant
~Map<Object, Set<Object>>
Full transcript