[guava] The Guava release is coming

8 views
Skip to first unread message

Kevin Bourrillion

unread,
Apr 8, 2010, 7:40:50 PM4/8/10
to guava-...@googlegroups.com
Hello Guava users,

We're preparing for the first binary release of Guava, which will be release 3 (as there have been two previous source-only "releases", if you want to call them that).

I've checked in the sources and the javadoc, and put a hastily-thrown-together downloadable zip here for you to sanity-check (if you would, please):

  http://guava-libraries.googlecode.com/files/guava-r03RC.zip

If all goes well this can become a real release on Monday!  (Yes, we'll even do whatever Maven fu is needed then, too.)

What's new in this release?  That's a long story!  I should be able to get it all typed up tomorrow.

Please send any feedback.


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

--
guava-...@googlegroups.com.
http://groups.google.com/group/guava-discuss?hl=en
unsubscribe: guava-discus...@googlegroups.com
 
This list is for discussion; for help, post to Stack Overflow instead:
http://stackoverflow.com/questions/ask
Use the tag "guava".

Bradley Davis

unread,
Apr 9, 2010, 4:59:24 AM4/9/10
to guava-discuss
Any chance of a Maven POM and deployment to a repository? There's a
guide to uploading to the here: http://maven.apache.org/guides/mini/guide-central-repository-upload.html

Both the google-collections and the jsr305 dependencies are already in
the central repository. I ask because I use Guava in a Maven based
project I'm hoping to start doing releases on soon.

On Apr 8, 4:40 pm, Kevin Bourrillion <kev...@google.com> wrote:
> Hello Guava users,
>
> We're preparing for the first binary release of Guava, which will be release
> 3 (as there have been two previous source-only "releases", if you want to
> call them that).
>
> I've checked in the sources and the javadoc, and put a
> hastily-thrown-together downloadable zip here for you to sanity-check (if
> you would, please):
>
>  http://guava-libraries.googlecode.com/files/guava-r03RC.zip
>
> If all goes well this can become a real release on Monday!  (Yes, we'll even
> do whatever Maven fu is needed then, too.)
>
> What's new in this release?  That's a long story!  I should be able to get
> it all typed up tomorrow.
>
> Please send any feedback.
>
> --
> Kevin Bourrillion @ Google
> internal:  http://goto/javalibraries
> external:http://guava-libraries.googlecode.com
>
> --

> guava-discuss@googlegroups.com.http://groups.google.com/group/guava-discuss?hl=en

Nikolas Everett

unread,
Apr 9, 2010, 7:12:48 AM4/9/10
to guava-...@googlegroups.com
I've been pitching guava and google collections before it into my local Artifactory with great success.  It works wonders for closed source projects.  Not so much for open source though.

Any way Kevin did say he'd do our "maven foo."


> unsubscribe: guava-discus...@googlegroups.com
>
> This list is for discussion; for help, post to Stack Overflow instead:http://stackoverflow.com/questions/ask
> Use the tag "guava".


http://groups.google.com/group/guava-discuss?hl=en
unsubscribe: guava-discus...@googlegroups.com

This list is for discussion; for help, post to Stack Overflow instead:
http://stackoverflow.com/questions/ask
Use the tag "guava".

To unsubscribe, reply using "remove me" as the subject.

Kevin Bourrillion

unread,
Apr 9, 2010, 12:53:11 PM4/9/10
to guava-...@googlegroups.com
Summary of changes:

New stuff:
  Predicates.contains()
  Predicates.containsPattern()
  Forwarding{List,Set,SortedSet}Multimap
  Itera*s.getLast(2-arg)
  Maps.newConcurrentMap()
  Ordering.immutableSortedCopy()
  Objects.firstNonNull() (@Beta)
  ImmutableSortedSet.withExplicitOrder() (@Beta)
  Interner/s (@Beta)
  Itera*s.skip() (@Beta)
  Itera*s.limit() (@Beta)
  Sets.symmetricDifference() (@Beta)
  Strings (@Beta)
  Constraint/s (@Beta)
  MapConstraint/s (@Beta)

Graduating from @Beta!
  ImmutableCollection.asList()
  ImmutableList.asList()
  ImmutableList.copyOf()
  Itera*s.removeIf()
  Itera*s.indexOf()
  Bytes/Chars/Ints/etc.

Deprecations:
  In Immutable{List,Set,SortedSet}:
    of(array) deprecated -- use copyOf(array) (array overloads only)

  Executors deprecated -- use MoreExecutors

Misc:
  Added the @Beta annotation, marked all beta APIs with it.

Ray Conner

unread,
Apr 9, 2010, 5:06:20 PM4/9/10
to guava-discuss
I'm just curious, is there a specific use case for
Objects.firstNonNull()?

Is there a reason this use case wouldn't be better served by a varargs
method, or perhaps in Itera*s?

- Ray A. Conner

Fred Faber

unread,
Apr 9, 2010, 5:17:13 PM4/9/10
to guava-...@googlegroups.com
It's a convenient method for when you want to default an argument.

String username = Objects.firstNonNull(parameterSet.get("username"), "DEFAULT_USER");

-Fred

--
guava-...@googlegroups.com.
http://groups.google.com/group/guava-discuss?hl=en
unsubscribe: guava-discus...@googlegroups.com

This list is for discussion; for help, post to Stack Overflow instead:
http://stackoverflow.com/questions/ask
Use the tag "guava".

Kevin Bourrillion

unread,
Apr 9, 2010, 5:18:19 PM4/9/10
to guava-...@googlegroups.com
It's used hundreds of times at Google, but uses for three or more args don't come up much.

If you do want it for an Iterable:  return Iterables.find(it, Predicates.notNull());




On Fri, Apr 9, 2010 at 2:06 PM, Ray Conner <ray.a....@gmail.com> wrote:
--
guava-...@googlegroups.com.
http://groups.google.com/group/guava-discuss?hl=en
unsubscribe: guava-discus...@googlegroups.com

This list is for discussion; for help, post to Stack Overflow instead:
http://stackoverflow.com/questions/ask
Use the tag "guava".

To unsubscribe, reply using "remove me" as the subject.

Ray Conner

unread,
Apr 10, 2010, 10:25:00 AM4/10/10
to guava-discuss
That makes a lot of sense. I knew there had to be a use case,
otherwise it wouldn't be in there.

- Ray

> > unsubscribe: guava-discus...@googlegroups.com<guava-discuss%2Bunsubscribe@goog legroups.com>

Christian Gruber

unread,
Apr 12, 2010, 12:43:29 AM4/12/10
to guava-discuss
Partly done (see my other message earlier tonight). The poms are in
the source base now, so you can cleanly build them yourself from
scratch. We'll get it all into the central repo shortly.

Christian.

Reply all
Reply to author
Forward
0 new messages