/** @deprecated Use {@link retrofit2.HttpException}. */ @Deprecated public final class HttpException extends retrofit2.HttpException { public HttpException(Response<?> response) { super(response); } }
/** @deprecated Use {@link retrofit2.HttpException}. */ @Deprecated public final class HttpException extends retrofit2.HttpException { public HttpException(Response<?> response) { super(response); } }
/** @deprecated Use {@link retrofit2.HttpException}. */ @Deprecated public final class HttpException extends retrofit2.HttpException { public HttpException(Response<?> response) { super(response); } }
/** * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char) * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0', * '9')}. * * @deprecated Many digits are supplementary characters; see the class documentation. * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT}) */ @Deprecated public static CharMatcher javaDigit() { return JavaDigit.INSTANCE; }
/** * Determines whether a BMP character is lower case according to {@linkplain * Character#isLowerCase(char) Java's definition}. * * @deprecated Some lowercase characters are supplementary characters; see the class * documentation. * @since 19.0 (since 1.0 as constant {@code JAVA_LOWER_CASE}) */ @Deprecated public static CharMatcher javaLowerCase() { return JavaLowerCase.INSTANCE; }
/** @deprecated Use {@link retrofit2.HttpException}. */ @Deprecated public final class HttpException extends retrofit2.HttpException { public HttpException(Response<?> response) { super(response); } }
/** * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link * #getUnchecked} instead. * @throws UncheckedExecutionException if an exception was thrown while loading the value. (As * described in the documentation for {@link #getUnchecked}, {@code LoadingCache} should be * used as a {@code Function} only with cache loaders that throw only unchecked exceptions.) */ @Deprecated @Override V apply(K key);
/** * Determines whether a character is a BMP letter according to {@linkplain * Character#isLetter(char) Java's definition}. If you only care to match letters of the Latin * alphabet, you can use {@code inRange('a', 'z').or(inRange('A', 'Z'))}. * * @deprecated Most letters are supplementary characters; see the class documentation. * @since 19.0 (since 1.0 as constant {@code JAVA_LETTER}) */ @Deprecated public static CharMatcher javaLetter() { return JavaLetter.INSTANCE; }
/** * Trap null-check attempts on primitives. * @param value the value to check * @param message the message to print * @return the value * @deprecated this method should not be used as there is no need * to check primitives for nullness. */ @Deprecated public static long requireNonNull(long value, String message) { throw new InternalError("Null check on a primitive: " + message); } }
/** * @deprecated Provided only to satisfy the {@link Predicate} interface; use {@link #contains} * instead. */ @Deprecated @Override public boolean apply(C input) { return contains(input); }
/** * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public void add(Range<C> range) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the {@code RangeSet} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public void removeAll(RangeSet<C> other) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the collection unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void clear() { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public void put(Range<K> range, V value) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the {@code RangeMap} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public void putCoalescing(Range<K> range, V value) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final V computeIfPresent( K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the map unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void putAll(Map<? extends K, ? extends V> map) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the list unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void replaceAll(UnaryOperator<E> operator) { throw new UnsupportedOperationException(); }
/** * Guaranteed to throw an exception and leave the list unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override public final void sort(Comparator<? super E> c) { throw new UnsupportedOperationException(); }
/** * Not supported. Use {@link #eraseAll} instead. * * @throws UnsupportedOperationException always * @deprecated Use {@link #eraseAll} */ @Override @Deprecated public void clear() { throw new UnsupportedOperationException(); }