GTUG - Using the Google Collections Library for Java (2 of 2)

Loading...

Sign in or sign up now!
21,208
Loading...
Alert icon
Sign in or sign up now!
Alert icon
There is no Interactive Transcript.

Uploaded by on Aug 8, 2008

08/06/2008 - http://sv-gtug.org

The Java Collections Framework is indispensable to nearly every Java developer. Yet, you may often find yourself searching for a collection type, implementation, or utility that's nowhere to be found. In this session, you'll learn how the open-source Google Collections Library builds on the excellent foundation of java.util, to provide more of the building blocks you need to do your job. You'll see many examples of how your code can become simpler, safer, more flexible, and more powerful by adopting classes like ReferenceMap, Multimap, our immutable collections and many others.

Kevin Bourrillion is the lead engineer for Google's core Java libraries, more of which will be open-sourced in the future. He is a primary author of the Google Collections Library, and of Google's Java dependency injection framework, Guice. He came to Google in 2004 after seven years of fighting for life at a string of Hot Silicon Valley Start-Ups.

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • The Boolean is awesome.

  • Great Videos! Anybody that loves hair and beauty like me should be friends!

  • @pzmtuthcvpvl I got your point. But I look at this way, when we first create a collection (or any object for that matter) we know what it is going to be (used for). So you may use all modifiers upfront. Right? At that juncture, these collections are empty and changing underlying data structure will have negligible performance impact (compared to creating a brand new one). I can go on but then there are 101 reasons for YouTube to limit length of comments. :)

  • @tukonre because mutability introduces backfeed and write-lock issues that are time costly and thus impede scalability on distributed response systems where up-feed into the system cannot be isolated from downline browsing - I just went through getting Comparator / Comparable / Equals implemented on the base datatype and in doing so it becomes apparent why having a accessData(booolean set) is of profound impact on the mutator model

  • What is the test creation framework ????

    for the 25 000 tests..

  • Why not GMap, GSet and GList with modifiers like setMutable(true), setLinked(true), setWeak(true) etc ? Infact we could just go for limited number (and I mean, really limited) of interfaces to simplify the whole thing. Indeed, use of factory to create/return underlying implementation is a right thing to do. I am just not in favor of typing things upfront. Use modifiers ... it makes things dynamic and elastic. Otherwise you have to remember/know so much.

  • soon you will see java++. any reason to do that?

  • wierd

  • Thanks for information.

  • How is Sun making Java open source influencing your decision to 'not putting it into JCP? Wouldnt your team be getting into the thick of things right in the Java project itself?

    Google's effort in contributing really good APIs here is truly commendable. A big ovation to you people.

    red1

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more