-
Couldn't load subscription status.
- Fork 11.1k
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
Objectswhich do not have equivalents injava.util.Objectshave been moved toMoreObjectsto allow importing of both classes. Those methods have been deprecated in ourObjectsclass. Methods which do have equivalents injava.util.Objectswill remain (undeprecated) in ourObjectsclass as long as Guava continues to support JDK 6.
- Methods in
- Enums
- removed deprecatedvalueOfFunction` 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, simpleExecutorthat runs tasks on the thread that invokesexecute. -
MoreExecutors.newDirectExecutorService()- heavierListeningExecutorServiceimplementation 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