- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for discouraged (0.06 seconds)
-
guava/src/com/google/common/base/Predicates.java
* * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible public final class Predicates { /** * Returns a predicate that always evaluates to {@code true}. * * <p><b>Discouraged:</b> Prefer using {@code x -> true}, but note that lambdas do not have * human-readable {@link #toString()} representations and are not serializable. */ public static <T extends @Nullable Object> Predicate<T> alwaysTrue() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 26.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Supplier.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicate.java
* version of this interface will be made to <i>extend</i> {@code java.util.function.Predicate}, so * that conversion will be necessary in only one direction. At that time, this interface will be * officially discouraged. * * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible public interface Predicate<T extends @Nullable Object> { /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 18 15:22:00 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
/** * Sets the priority for new threads created with this ThreadFactory. * * <p><b>Warning:</b> relying on the thread scheduler is <a * href="http://errorprone.info/bugpattern/ThreadPriorityCheck">discouraged</a>. * * <p><b>Java 21+ users:</b> use {@link Thread.Builder.OfPlatform#priority(int)} instead. * * @param priority the priority for new Threads created with this ThreadFactory
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:35:26 GMT 2025 - 9K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
Sending a body with a `GET` request has an undefined behavior in the specifications, nevertheless, it is supported by FastAPI, only for very complex/extreme use cases. As it is discouraged, the interactive docs with Swagger UI won't show the documentation for the body when using `GET`, and proxies in the middle might not support it. /// ## Import Pydantic's `BaseModel` { #import-pydantics-basemodel }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of * multiple containers in a single method is discouraged in most cases, but it is vital to the * iterator tests. * * @return the new container instance * @param newValue the new container instance */ @CanIgnoreReturnValue
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* of this comparison chain has not already been determined. */ public abstract ComparisonChain compare(double left, double right); /** * Discouraged synonym for {@link #compareFalseFirst}. * * @deprecated Use {@link #compareFalseFirst}; or, if the parameters passed are being either
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* interrupt). * <li>Any {@link CancellationException} is propagated untouched, as is any other {@link * RuntimeException} (though {@code get} implementations are discouraged from throwing such * exceptions). * </ul> * * <p>The overall principle is to continue to treat every checked exception as a checked
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 64.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
return o.toString(); } @Override public String toString() { return "Functions.toStringFunction()"; } } /** * Returns the identity function. * * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often * more readable. */ // implementation is "fully variant"; E has become a "pass-through" type @SuppressWarnings("unchecked")
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
} @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns a supplier that always supplies {@code instance}. * * <p><b>Discouraged:</b> Prefer using {@code () -> instance}, but note that lambdas do not have * human-readable {@link #toString()} representations and are not serializable. If you need aCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 16.5K bytes - Click Count (0)