- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for Prefer (0.29 sec)
-
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) -
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) -
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) -
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) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
/** * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it * to use RSA-2048 instead. * * (We otherwise prefer ECDSA because it's faster.) */ private val localhostHandshakeCertificatesWithRsa2048: HandshakeCertificates by lazy { val heldCertificate = HeldCertificate .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
/** * Returns the response as a byte array. * * This method loads entire response body into memory. If the response body is very large this * may trigger an [OutOfMemoryError]. Prefer to stream the response body if this is a * possibility for your response. */ @Throws(IOException::class) fun bytes() = consumeSource(BufferedSource::readByteArray) { it.size } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
* or after it has returned. If startup fails, the invocation should cause a call to {@link * #notifyFailed(Throwable)} instead. * * <p>This method should return promptly; prefer to do work on a different thread where it is * convenient. It is invoked exactly once on service startup, even when {@link #startAsync} is * called multiple times. */ @ForOverride
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
import java.util.Comparator; import org.jspecify.annotations.Nullable; /** * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>. * * <p>Example usage of {@code ComparisonChain}: * * {@snippet : * public int compareTo(Foo that) { * return ComparisonChain.start()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
* @param unit the unit that {@code duration} is expressed in * @throws IllegalArgumentException if {@code duration} is not positive * @since 2.0 */ @SuppressWarnings("GoodTime") // Prefer the Duration overload public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration( Supplier<T> delegate, long duration, TimeUnit unit) { checkNotNull(delegate);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0)