- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 429 for equivalentTo (0.72 seconds)
-
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
// We're testing that the method is in fact equivalent to throwing the exception directly. @SuppressWarnings("ThrowIfUncheckedKnownUnchecked") public void testThrowIfUnchecked_unchecked() { assertThrows( SomeUncheckedException.class, () -> throwIfUnchecked(new SomeUncheckedException())); } // We're testing that the method is in fact equivalent to throwing the exception directly.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* permits become available per second * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero */ // TODO(user): "This is equivalent to // {@code createWithCapacity(permitsPerSecond, 1, TimeUnit.SECONDS)}". public static RateLimiter create(double permitsPerSecond) { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
* that of {@code ((Character) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Character#compare} method instead. * * @param a the first {@code char} to compare * @param b the second {@code char} to compareCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* that of {@code ((Short) a).compareTo(b)}. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Short#compare} method instead. * * @param a the first {@code short} to compare * @param b the second {@code short} to compareCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
g2.putEdge(N1, N1); assertThat(graph).isNotEqualTo(g2); } // Node/edge sets and node/edge connections are the same, but graph properties differ. // In this case the graphs are considered equivalent; the property differences are irrelevant. @Test public void equivalent_propertiesDiffer() { graph.putEdge(N1, N2); MutableGraph<Integer> g2 =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* however, that passing an explicit {@code null} cause prevents anyone from calling {@link * #initCause} later, so it is not quite equivalent to using a constructor that omits the * cause. */ @Deprecated protected ExecutionError() {} /** * Creates a new instance with the given detail message and no cause. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
// connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent g2.addEdge(N1, N2, E13); g2.addEdge(N1, N3, E12); assertThat(network).isNotEqualTo(g2); } // Node/edge sets and node/edge connections are the same, but network properties differ. // (In this case the networks are considered equivalent; the property differences are irrelevant.) @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
// connect E13 to N1 and N2, and E12 to N1 and N3 => not equivalent g2.addEdge(N1, N2, E13); g2.addEdge(N1, N3, E12); assertThat(network).isNotEqualTo(g2); } // Node/edge sets and node/edge connections are the same, but network properties differ. // (In this case the networks are considered equivalent; the property differences are irrelevant.) @TestCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a * method equivalent to {@link java.util.concurrent.locks.ReentrantLock#hasQueuedThread(Thread)}. If * the {@link #callAndAssertWaits} method is ever called in a test, the lock-like object must have a * method equivalent to {@link * java.util.concurrent.locks.ReentrantLock#hasWaiters(java.util.concurrent.locks.Condition)},Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
} /** * Returns an immutable sorted set containing the given elements sorted by their natural ordering. * When multiple elements are equivalent according to {@link Comparable#compareTo}, only the first * one specified is included. * * @throws NullPointerException if any element is null */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 36.8K bytes - Click Count (0)