What is slated for Guava 12?

747 views
Skip to first unread message

Emily Soldal

unread,
Feb 1, 2012, 3:11:23 AM2/1/12
to guava-discuss
What is slated for Guava 12? I'm curious to know what changes we can
expect.

Mark Derricutt

unread,
Feb 6, 2012, 4:57:08 PM2/6/12
to Emily Soldal, guava-discuss
Following on from my love of Optional I'd love to see some form of Either<T,E> added to guava.

But then another part of just yells out "change languages" :(

Mark

--
"Great artists are extremely selfish and arrogant things" — Steven Wilson, Porcupine Tree



On Wed, Feb 1, 2012 at 9:11 PM, Emily Soldal <em...@soldal.org> wrote:
What is slated for Guava 12? I'm curious to know what changes we can
expect.

Louis Wasserman

unread,
Feb 6, 2012, 5:06:26 PM2/6/12
to Mark Derricutt, Emily Soldal, guava-discuss
That's my instinct, as well.  =(

As I understand it, Either is just dandy in Scala (and I think Scala comes with Either), but without the pattern-matching of a true functional language, it's a royal pain to do anything useful with.

I think the general rule here is, "If Either is what you really want, then roll your own with method names appropriate to your project."  (Corollary, by the way: only use Optional if the "present/absent" dichotomy is really appropriate to your use case, otherwise, roll your own.)

Louis Wasserman

unread,
Feb 6, 2012, 5:39:09 PM2/6/12
to Mark Derricutt, Emily Soldal, guava-discuss
This search lists all the public Guava issues scheduled for Release 12.  I'd say that the biggest new thing is "we're finally moving up to JDK 6!" which is a pretty major advance, and we'll finally start providing some NavigableXXX-based things; that's certainly been most of what I've been doing since 11 came out.

That said, if Kevin & co. have something bigger and awesome-r up their sleeves, I might not know about it...so I'm curious, too. =)

Kurt Alfred Kluever

unread,
Feb 6, 2012, 5:47:39 PM2/6/12
to Louis Wasserman, Mark Derricutt, Emily Soldal, guava-discuss
Without going into too much detail, here's a rough list of things we are currently *considering*:
-Converter (w/ String + enum converters)
-CacheBuilderSpec
-Forwarding{NavMap,NavSets,SortedMultisets}
-Nav{Sets,Maps}
-Range{Map,Set}, TreeRangeSet
-Queues: newAD, newLBD
-Collections: orderedPerm, perm
-Escapers!
-MediaType
-JavaNetIdnIdnFactory
-CompositiveService
-FluentIterable

Again, this is a tentative list...no promises :-)

Kurt Alfred Kluever | Software Engineer | k...@google.com | (617) 500-KURT

Louis Wasserman

unread,
Feb 6, 2012, 6:01:51 PM2/6/12
to Kurt Alfred Kluever, Mark Derricutt, Emily Soldal, guava-discuss
Is this all under consideration for Guava 12?  (I was under the vague impression that RangeSet/Map would wait until I was back at Google to finish them up, since I started them last summer...though I'm happy to continue working on them from the outside.)
Reply all
Reply to author
Forward
0 new messages