-
Interfaces Interface Description com.google.common.collect.MapConstraint UsePreconditionsfor 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>, useByteSourceinstead. ForInputSupplier<? extends Reader>, useCharSource. Implementations ofInputSupplierthat don't fall into one of those categories do not benefit from any of the methods incommon.ioand should use a different interface. This interface is scheduled for removal in December 2015.com.google.common.io.OutputSupplier ForOutputSupplier<? extends OutputStream>, useByteSinkinstead. ForOutputSupplier<? extends Writer>, useCharSink. Implementations ofOutputSupplierthat don't fall into one of those categories do not benefit from any of the methods incommon.ioand 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.ToStringHelperinstead. This class is scheduled for removal in June 2016.com.google.common.collect.MapConstraints UsePreconditionsfor 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.