-
Classes Class Description com.google.common.collect.ForwardingBlockingDeque This class has moved tocom.google.common.util.concurrent
. Please useForwardingBlockingDeque
instead.com.google.common.collect.TreeTraverser UseTraverser
instead. All instance methods have their equivalent on the result ofTraverser.forTree(tree)
wheretree
implementsSuccessorsFunction
, which has a similar API asTreeTraverser.children(T)
or can be the same lambda function as passed intoTreeTraverser.using(Function)
.This class is scheduled to be removed in October 2019.
-
Exceptions Exceptions Description com.google.common.collect.ComputationException This exception is no longer thrown bycom.google.common
. Previously, it was thrown byMapMaker
computing maps. When support for computing maps was removed fromMapMaker
, it was added toCacheBuilder
, which throwsExecutionException
,UncheckedExecutionException
, andExecutionError
. Any code that is still catchingComputationException
may need to be updated to catch some of those types instead. (Note that this type, though deprecated, is not planned to be removed from Guava.)
-
Fields Field Description com.google.common.net.HttpHeaders.SEC_CH_UA_FULL_VERSION
-
Constructors Constructor Description com.google.common.util.concurrent.ExecutionError() Prefer ExecutionError(java.lang.Error) a constructor that accepts a cause: Users of this class typically expect for instances to have a non-null cause. At the moment, you can usually still preserve behavior by passing an explicitnull
cause. Note, however, that passing an explicitnull
cause prevents anyone from callingThrowable.initCause(java.lang.Throwable)
later, so it is not quite equivalent to using a constructor that omits the cause.com.google.common.util.concurrent.UncheckedExecutionException() Prefer UncheckedExecutionException(java.lang.Throwable) a constructor that accepts a cause: Users of this class typically expect for instances to have a non-null cause. At the moment, you can usually still preserve behavior by passing an explicitnull
cause. Note, however, that passing an explicitnull
cause prevents anyone from callingThrowable.initCause(java.lang.Throwable)
later, so it is not quite equivalent to using a constructor that omits the cause.
-
Enum Constants Enum Constant Description com.google.common.base.StandardSystemProperty.JAVA_EXT_DIRS This property was deprecated in Java 8 and removed in Java 9. We do not plan to remove this API from Guava, but if you are using it, it is probably not doing what you want.