-
Deprecated MethodsMethodDescriptionMany digits are supplementary characters; see the class documentation.Most invisible characters are supplementary characters; see the class documentation.Many digits are supplementary characters; see the class documentation.Most letters are supplementary characters; see the class documentation.Most letters and digits are supplementary characters; see the class documentation.Some lowercase characters are supplementary characters; see the class documentation.Some uppercase characters are supplementary characters; see the class documentation.Many such characters are supplementary characters; see the class documentation.Provided to satisfy the
Functioninterface; useConverter.convert(A)instead.Provided only to satisfy theBiPredicateinterface; useEquivalence.equivalent(T, T)instead.This method is equivalent toThrowable.getStackTrace()on JDK versions past JDK 8 and on all Android versions. UseThrowable.getStackTrace()directly, or where possible use thejava.lang.StackWalker.walkmethod introduced in JDK 9.This method always returns false on JDK versions past JDK 8 and on all Android versions.Usethrow eorthrow new RuntimeException(e)directly, or use a combination ofThrowables.throwIfUnchecked(java.lang.Throwable)andthrow new RuntimeException(e). For background on the deprecation, read Why we deprecatedThrowables.propagate.UseThrowables.throwIfInstanceOf(java.lang.Throwable, java.lang.Class<X>), which has the same behavior but rejectsnull.UseThrowables.throwIfUnchecked(java.lang.Throwable), which has the same behavior but rejectsnull.
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis 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.
Predicateinterface; useCharMatcher.matches(char)instead.