Your SlideShare is downloading. ×
0
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Google guava(최종)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Google guava(최종)

1,146

Published on

Published in: Technology, Education
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,146
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. GuavaGoogle’s Core Libraries for java 작성일 2011-09-25 작성자 커뮤니티개발1팀 정희경
  2. Contents Guava Overview Guava vs Apache Commons Guava Library & Examples Guava Pros & Cons
  3. Guava Overview Google’s core Java libraries for Java 5+ The Apache Software License, Version 2.0 Similar to Apache Commons Extension of the Java Collections Framework Google Collection
  4. Guava vs Apache Commons Generics  Guava targets Java 5 - Greatly benefits from the Java 5 features: generics, enums, autoboxing ..
  5. Guava vs Apache Commons Consistency with Collections framework Correctness – don’t need to test Guava has only one code dependency - javax.annotation
  6. Guava Library & Examples The Guava Packages
  7. Guava Library & Examples com.google.common.base  common code used by other package
  8. Guava Library & Examples com.google.common.base.Preconditions  Validation checks before execution
  9. Guava Library & Examples com.google.common.base.Preconditions  Validation checks before execution  Additional exception types  Better handling of message arguments  In Apache Commons  In Guava  Easy assignment after not null check  In Apache Commons  In Guava
  10. Guava Library & Examples com.google.common.base.Joiner
  11. Guava Library & Examples com.google.common.base.Splitter
  12. Guava Library & Examples com.google.common.base.Objects  Makes it easy to implement hashcode/ equals
  13. Guava Library & Examples com.google.common.io.Files  for working with Java I/O Collection. java.io.File org.apache.commons.io.FileUtils
  14. Guava Library & Examples com.google.common.io.Files  for working with Java I/O Collection. com.google.common.io.Files Result
  15. Guava Library & Examples com.google.common.io.Files
  16. Guava Library & Examples com.google.common.collect  Contains generic collection interfaces and impleme ntations, other utilities for working with collections  Collection Types  BiMap  Multiset  Mutimap  ListMultimap  SetMultimap  SortedSetMultimap  Table  ClassToInstanceMap
  17. Guava Library & Examples com.google.common.collect
  18. Guava Library & Examples com.google.common.collect.Multimaps  allow multiple values to be stored for every key
  19. Guava Library & Examples com.google.common.collect.BiMap  one-to-one bidirectional relationship between key and value of the Map
  20. Guava Library & Examples com.google.common.collect.Constraints  Similar to preconditions in a way that they can restri ct what values are added to a collection
  21. Guava Pros & Cons Guava targets Java 5 - Greatly benefits from the Java 5 features: generics Guava is very well designed / documented  The code is useful patterns to make the API more readable, secure, thread-safe.. Functional programming support
  22. Guava Pros & Cons Its not a sufficient replacement for Apache Commons, in particular commons-codec If youre in an environment requiring Java 1.3 or 1.4, youre out of luck.
  23. Q&A
  24. 감사합니다 

×