- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 922 for Because (0.03 sec)
-
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are * fragile because they assume that only certain methods will be called and because they often * implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are * fragile because they assume that only certain methods will be called and because they often * implement subtleties of the API improperly. * * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * <ul> * <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause * is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code * RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}. * <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
} } return true; } }, /** * This strategy uses all 128 bits of {@link Hashing#murmur3_128} when hashing. It looks different * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by * AND'ing with Long.MAX_VALUE instead of flipping the bits. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
* the discussion in the {@link ListenableFuture#addListener ListenableFuture.addListener} * documentation. */ public void add(Runnable runnable, Executor executor) { // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws // NPE on null listener, so we propagate that contract up into the add method as well. checkNotNull(runnable, "Runnable was null.");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
* * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs * quickly, since the row key is provided. However, {@code column(columnKey).size()} takes longer, * since an iteration across all row keys occurs. * * <p>Because a {@code TreeBasedTable} has unique sorted values for a given row, both {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
setDefault(Double.class, 1D); setDefault(Class.class, Class.class); } /** * Sets the default value for {@code type}. The default value isn't used in testing {@link * Object#equals} because more than one sample instances are needed for testing inequality. To set * distinct values for equality testing, use {@link #setDistinctValues} instead. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ParametricNullness.java
* Contrast the method above to: * * <ul> * <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/ParametricNullness.java
* Contrast the method above to: * * <ul> * <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/ParametricNullness.java
* Contrast the method above to: * * <ul> * <li>methods whose return type is a type variable but which can never return {@code null}, * typically because the type forbids nullable type arguments: For example, {@code * ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 16:20:21 UTC 2024 - 3.1K bytes - Viewed (0)