5 comments

[ 3.5 ms ] story [ 22.1 ms ] thread
a lot of the primitives and io functionality has long been available in the jakarta commons projects

http://commons.apache.org/io/ http://commons.apache.org/lang/ (ArrayUtils contains primitives functionality)

i haven't looked at it in detail yet but a cursory look at the api doesn't show much you couldn't find elsewhere.

I'd imagine part of the reason this was released was for the same reason a stripped down version of their web server was released-- to allow other internal Google projects to be released as open source without much modification.

Not as much "new stuff" there as opposed to guice, GWT and google-collections.

Their concurrency utilities, on the other hand are interesting.

Yes, my cursory look also suggests a lot of overlap with Apache Commons, even among the small number of classes.

A few things stuck out of possible interest:

- The InputSupplier/OutputSupplier interfaces, and classes that work on such suppliers of in- or out-streams instead of composited streams

- The UnsignedBytes helper methods

- The TimeLimiter utility for turning any method into a time-limited version

- The ListenableFuture with Runnables as 'listeners'

It's nice that they are releasing this, but it's boilerplate that most shops are going to have in one form or another, whether by open source or something they brewed in-house long before an alternative surfaced.
at least it will give new shops something to start from instead of writing their own. +1 for google.