- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 157 for Prefer (0.09 sec)
-
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* may also wrap a checked exception in some cases. * * <p>When wrapping an {@code Error} from another thread, prefer {@link ExecutionError}. When * wrapping a checked exception, prefer {@code ExecutionException}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible public class UncheckedExecutionException extends RuntimeException { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.2K bytes - Viewed (0) -
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() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt
* * This implementation delegates everything to [okhttp3.java.net.cookiejar.JavaNetCookieJar], which * conforms to the package-naming limitations of JPMS. * * Callers should prefer to use [okhttp3.java.net.cookiejar.JavaNetCookieJar] directly. */ class JavaNetCookieJar private constructor( delegate: okhttp3.java.net.cookiejar.JavaNetCookieJar, ) : CookieJar by delegate {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
/** * Creates a new instance with the given detail message and cause. Prefer to provide a * non-nullable {@code cause}, as many users expect to find one. */ public ExecutionError(@Nullable String message, @Nullable Error cause) { super(message, cause); } /** * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
* {@code equals}, {@code hashCode} or {@code toString} behavior of the returned function. A * future migration to {@code java.util.function} will not preserve this behavior. * * <p>As discussed above, prefer to use the method reference {@code Object::toString} instead, * though note that it is not serializable unless you explicitly make it {@link Serializable},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* helpful predefined constants * @return a string containing all the characters from the file * @throws IOException if an I/O error occurs * @deprecated Prefer {@code asCharSource(file, charset).read()}. */ @Deprecated @InlineMe( replacement = "Files.asCharSource(file, charset).read()", imports = "com.google.common.io.Files")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * {@snippet : * final String name = ...; * inFlight.add(name);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dns.kt
* [system DNS service][SYSTEM], which is the default. Some applications may provide their own * implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4 addresses, * or to force a specific known IP address. * * Implementations of this interface must be safe for concurrent use. */ fun interface Dns { /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TopKSelector.java
* create the {@code TopKSelector} instance. * * <p>If your input data is available as a {@link Stream}, prefer passing {@link * Comparators#least(int)} to {@link Stream#collect(java.util.stream.Collector)}. If it is available * as an {@link Iterable} or {@link Iterator}, prefer {@link Ordering#leastOf(Iterable, int)}. * * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful: * * {@snippet : * final String name = ...; * inFlight.add(name);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0)