Google Collections 1.0-rc4 is up

5 views
Skip to first unread message

Kevin Bourrillion

unread,
Nov 10, 2009, 10:08:17 PM11/10/09
to Google Collections Library - users list, Google Collections Library - developer list
1.0-rc4 -- the "last" RC!

Here are the changes that may affect you:

* Functions.forMap(Map) now has no default-default value. The function it
  returns just throws an exception now on an unrecognized key. For the old
  behavior, use forMap(Map, null).

* ForwardingMap no longer has createEntrySet(), createKeySet() and
  createValues() methods. Just override entrySet(), keySet() and values()
  like usual. Cache your view collection in a field IF you want to; this is no
  longer done for you.

* In ImmutableMultiset.Builder, the add(E, int) overload is renamed to
  addCopies, while other overloads are unchanged.

* Ordering.givenOrder(), which was superseded by Ordering.explicit() in
  rc1, is now removed.

* MapMaker.loadFactor(), a method no one should really use, was removed;
  unfortunately, there's no time left to go through a deprecation cycle, but I
  doubt this will affect many people. This alters the serialized form of
  "MapMade" maps, so the serialversionuid has been incremented.

It's really do-or-die time now, folks -- time to send in any last feedback before these APIs become set in stone for a long, long time!


--
Kevin Bourrillion @ Google
internal:  http://go/javalibraries
external: guava-libraries.googlecode.com

Kevin Bourrillion

unread,
Nov 10, 2009, 10:11:46 PM11/10/09
to Google Collections Library - users list, Google Collections Library - developer list

Jared Levy

unread,
Nov 10, 2009, 10:14:06 PM11/10/09
to Kevin Bourrillion, Google Collections Library - users list, Google Collections Library - developer list
The Maven version hasn't yet replicated to the repository listed below, but it should show up in the next day or two.
Reply all
Reply to author
Forward
0 new messages