-
Interfaces Interface Description com.google.common.collect.MapConstraint UsePreconditions
for basic checks. In place of constrained maps, we encourage you to check your preconditions explicitly instead of leaving that work to the map implementation. For the specific case of rejecting null, considerImmutableMap
. This class is scheduled for removal in Guava 20.0.com.google.common.io.InputSupplier ForInputSupplier<? extends InputStream>
, useByteSource
instead. ForInputSupplier<? extends Reader>
, useCharSource
. Implementations ofInputSupplier
that don't fall into one of those categories do not benefit from any of the methods incommon.io
and should use a different interface. This interface is scheduled for removal in December 2015.com.google.common.io.OutputSupplier ForOutputSupplier<? extends OutputStream>
, useByteSink
instead. ForOutputSupplier<? extends Writer>
, useCharSink
. Implementations ofOutputSupplier
that don't fall into one of those categories do not benefit from any of the methods incommon.io
and should use a different interface. This interface is scheduled for removal in December 2015.com.google.common.util.concurrent.FutureFallback This interface's main user,Futures.withFallback
, has been updated to useAsyncFunction
. We recommend that other APIs be updated in the same way. This interface will be removed in Guava release 20.0.
-
Classes Class Description com.google.common.base.Objects.ToStringHelper UseMoreObjects.ToStringHelper
instead. This class is scheduled for removal in June 2016.com.google.common.collect.MapConstraints UsePreconditions
for basic checks. In place of constrained maps, we encourage you to check your preconditions explicitly instead of leaving that work to the map implementation. For the specific case of rejecting null, considerImmutableMap
. This class is scheduled for removal in Guava 20.0.com.google.common.collect.Ranges Use the corresponding method inRange
.