-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Release18
- 18.0 was released on August 25, 2014
- 18.0-rc2 was released on August 18, 2014.
- 18.0-rc1 was released on August 5, 2014.
(See ReleaseHistory.)
Note: As of Guava 18, we will no longer be releasing JDK5 backports.
Guava | Guava (GWT) | |
---|---|---|
Maven Identifier | com.google.guava:guava:18.0 | com.google.guava:guava-gwt:18.0 |
Jar | guava-18.0.jar | guava-gwt-18.0.jar |
Javadoc | guava-18.0-javadoc.jar | guava-gwt-18.0-javadoc.jar |
Sources | guava-18.0-sources.jar | guava-gwt-18.0-sources.jar |
See UseGuavaInYourBuild for help integrating Guava into your build environment.
21 issues are resolved in this release.
Full JDiff Report of changes since release 17.0.
To build a combined report of the API changes between release 18.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
).
-
MoreObjects
- Methods in
Objects
which do not have equivalents injava.util.Objects
have been moved toMoreObjects
to allow importing of both classes. Those methods have been deprecated in ourObjects
class. Methods which do have equivalents injava.util.Objects
will remain (undeprecated) in ourObjects
class as long as Guava continues to support JDK 6.
- Methods in
- Enums
- removed deprecated
valueOfFunction` method.
FluentIterable.of(E[])
FluentIterable.append(E...)
FluentIterable.append(Iterable<? extends E>)
FluentIterable.join(Joiner)
Hashing.crc32c()
BloomFilter
no longer recognizes the system property com.google.common.hash.BloomFilter.useMitz32
(see Release 17 - A note on BloomFilter for more information).
Methods which took an InputSupplier
or OutputSupplier
parameter or which returned an InputSupplier
or OutputSupplier
(all of which were deprecated in Guava 15.0) have been removed. Additionally, ByteSource
, ByteSink
, CharSource
and CharSink
no longer implement InputSupplier
or OutputSupplier
.
The InputSupplier
and OutputSupplier
interfaces, which no longer have any usages in Guava, will be deleted in December 2015.
InetAddresses.decrement(InetAddress)
Parameter.getAnnotationsByType(Class<A>)
Parameter.getDeclaredAnnotation(Class<A>)
Parameter.getDeclaredAnnotationsByType(Class<A>)
-
MoreExecutors.directExecutor()
- lightweight, simpleExecutor
that runs tasks on the thread that invokesexecute
. -
MoreExecutors.newDirectExecutorService()
- heavierListeningExecutorService
implementation of the same thing; equivalent tosameThreadExecutor()
, which has been deprecated.
- Introduction
- Basic Utilities
- Collections
- Graphs
- Caches
- Functional Idioms
- Concurrency
- Strings
- Networking
- Primitives
- Ranges
- I/O
- Hashing
- EventBus
- Math
- Reflection
- Releases
- Tips
- Glossary
- Mailing List
- Stack Overflow
- Android Overview
- Footprint of JDK/Guava data structures