Release16 - zhouhongfa/guava-wiki-cn GitHub Wiki
Guava Release 16.0: Release Notes
- Release 16.0.1 was released on February 3, 2014.
- Release 16.0 was released on January 17, 2014.
- Release 16.0-rc1 was released on December 19, 2013.
(See ReleaseHistory.)
Using Guava in your project
This release is identified in the Maven Central repository as com.google.guava:guava:16.0.1 and com.google.guava:guava-gwt:16.0.1
See UseGuavaInYourBuild for help integrating Guava into your build environment.
If you don't use managed dependencies, you can also just manually download JARs of the classes, sources and documentation from:
- guava-16.0.1.jar
- guava-gwt-16.0.1.jar (for GWT users)
- guava-16.0.1-javadoc.jar (Javadoc)
- guava-16.0.1-sources.jar (Source)
Issues resolved
19 issues are resolved in this release.
API Changes
Full JDiff Report of changes since release 15.0
To build a combined report of the API changes between release 16.0 and any older release, check out our docs tree and run jdiff/jdiff.sh
with the previous release number as argument (example: jdiff.sh 5.0
).
Significant API additions
common.base
Ascii.equalsIgnoreCase
Ascii.truncate
Converter
CaseFormat.converterTo(CaseFormat)
Enums.stringConverter
Utf8
common.collect
MultimapBuilder
Maps.asConverter(BiMap)
common.eventbus
SubscriberExceptionHandler
common.hash
HashingInputStream
HashingOutputStream
common.io
ByteSource.read(ByteProcessor)
CharSource.readLines(LineProcessor)
common.primitives
Booleans.countTrue(boolean...)
stringConverter()
for Ints
, Longs
, Doubles
, Floats
and Shorts
common.reflect
ClassPath.getAllClasses()
common.util.concurrent
Runnables.doNothing()
Significant API changes
In common.io
, InputSupplier
and OutputSupplier
and all methods that take one or the other as a parameter have been deprecated. ByteSource
, CharSource
, ByteSink
and CharSink
should be used instead. The methods will be removed in two releases (18.0) and the interfaces are scheduled to be removed after 18 months, in June 2015.