Profile cover photo
Profile photo
Google Guava
9,673 followers -
java opensource library collections google concurrency
java opensource library collections google concurrency

9,673 followers
About
Google Guava's posts

Post has attachment
Guava 21.0 released

Guava 21.0 is now available in Maven Central as com.google.guava:guava:21.0!

Note: this release requires Java 8. It introduces support for various Java 8 features and APIs, including compatibility between Guava's functional types and the JDK's. See the release notes (https://github.com/google/guava/wiki/Release21) for more details.

If you need Java 6/7/Android support, continue to use Guava 20 for now. The next release, Guava 22, will introduce a backport that supports those platforms alongside the Java 8 version.

As always, if you encounter any issues you can report them to us on GitHub (https://github.com/google/guava/issues/new), and if you have questions about how to do something, we recommend using StackOverflow (http://stackoverflow.com/questions/ask?tags=guava).

Enjoy!
- +Colin Decker, Guava team

Post has attachment
Guava 21.0-rc2 released

Guava 21.0-rc2 is now available in Maven Central as com.google.guava:guava:21.0-rc2.

This release candidate fixes a small issue with rc1. A number of new methods that create Collectors took Guava's functional types (e.g. base.Function) as parameters. These parameters have been changed to the equivalent java.util.function types.

From the rc1 announcement:

Note: this release requires Java 8. It introduces support for various Java 8 features and APIs, including compatibility between Guava's functional types and the JDK's. See the release notes for more details: https://github.com/google/guava/wiki/Release21

If you need Java 6/7/Android support, continue to use Guava 20 for now. The next release, Guava 22, will introduce a backport that supports those platforms alongside the Java 8 version.

Thanks,
+Colin Decker

Do you subclass AbstractFuture to add fluent methods like transform()?

As part of introducing FluentFuture in Guava 22, we're planning to add several methods to AbstractFuture:
- addCallback
- catching
- catchingAsync
- transform
- transformAsync
- withTimeout

We're currently debating whether to make the methods `final`. The debate focuses mainly on the question "Should users subclass FluentFuture to add their own chaining methods?" But first, we should focus on binary compatibility: Adding a `final` method to an extensible class can break users. Despite this, we've added such methods before, and as far as I know, it hasn't caused big problems. But maybe we just haven't heard about them?

My question to you: Do you have any classes that both...
- ...subclass AbstractFuture and...
- ...define any of the methods listed above?

Thanks.

+Chris Povirk, Guava Team

Post has attachment
Guava 21.0-rc1 now available

Guava 21.0-rc1 is now available in Maven Central as com.google.guava:guava:21.0-rc1!

Note: this release requires Java 8. It introduces support for various Java 8 features and APIs, including compatibility between Guava's functional types and the JDK's. See the release notes for more details: https://github.com/google/guava/wiki/Release21

If you need Java 6/7/Android support, continue to use Guava 20 for now. The next release, Guava 22, will introduce a backport that supports those platforms alongside the Java 8 version.

Please try upgrading and testing this release candidate and let us know how it goes.

Happy holidays!
- +Colin Decker, Guava team

Post has attachment
Guava 20.0 released

Guava 20.0 final is now available in Maven Central as com.google.guava:guava:20.0.

This release includes quite a few new things, including a brand new package: com.google.common.graph. For GWT users, note that this release supports, but also requires, GWT 2.8.0. See the release notes (https://github.com/google/guava/wiki/Release20) for more information on what's in this release.

As always, if you encounter any issues you can report them to us on GitHub (https://github.com/google/guava/issues/new), and if you have questions about how to do something, we recommend using StackOverflow (http://stackoverflow.com/questions/ask?tags=guava).

Enjoy!
- +Colin Decker

Guava's new common.graph package

As part of our v20 release, we are introducing a new package (common.graph) for working with graph-structured data, that is, entities and the relationships between them. Examples include webpages and hyperlinks; scientists and the papers that they write; airports and the routes between them; and people and their family ties (family trees). Its purpose is to provide a common and extensible language for working with such data.

Key features include support for mutable and immutable graphs, directed and undirected graphs, elements (nodes and edges) with associated values, and for various types of edges.

We are really excited about this new addition. We have plans to expand its capabilities and flexibility still further, but since the current capabilities stand on their own, we wanted to get it into your hands now.

For more information on this package, please see the "Graphs, Explained" section of the Guava User Guide: https://github.com/google/guava/wiki/GraphsExplained

Thanks,
-+Joshua O'Madadhain

Post has attachment
Guava 20.0-rc1 released

Guava 20.0-rc1 is now available in Maven Central as com.google.guava:guava:20.0-rc1.

This release includes quite a few new things, including a brand new package: com.google.common.graph. For GWT users, note that this release supports, but also requires, GWT 2.8.0. See the release notes for more information on what's in this release: https://github.com/google/guava/wiki/Release20

Please try upgrading and testing this release candidate and let us know how it goes.

- +Colin Decker, for the Guava team

Post has attachment
If you're having trouble finding the Guava javadocs, sorry! We used to host the javadocs on our Google Code project, but Google Code was recently turned down. However, most search engines still highly rank those javadocs (whoops)!

If you're looking for the current Guava javadocs, you'll want to go here:
http://google.github.io/guava/releases/19.0/api/docs/

Thanks
-+Kurt Alfred Kluever 

Post has attachment
Guava 19.0 released

Guava 19.0 final is now available in Maven Central as com.google.guava:guava:19.0! See the release notes for information on what's in this release: https://github.com/google/guava/wiki/Release19

As always, if you encounter any issues you can report them to us at https://github.com/google/guava/issues/new, and if you have questions about how to do something, we recommend using StackOverflow: http://stackoverflow.com/questions/ask?tags=guava

Enjoy!

- +Colin Decker

Post has attachment
Guava 19.0-rc3 is now (at last) available in Maven Central as com.google.guava:guava:19.0-rc3. See the release notes for information on what's in this release: https://github.com/google/guava/wiki/Release19

This release contains minor updates and bug fixes from rc2. Please try upgrading and testing the release candidate and let us know if you find any issues.

Thanks!

- +Colin Decker
Wait while more posts are being loaded