- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 488 for equivalent (0.06 seconds)
-
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/src/com/google/common/collect/Ordering.java
* implicit). */ protected Ordering() {} // Instance-based factories (and any static equivalents) /** * Returns the reverse of this ordering; the {@code Ordering} equivalent to {@link * Collections#reverseOrder(Comparator)}. * * <p><b>Java 8+ users:</b> Use {@code thisComparator.reversed()} instead. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayListMultimap.java
@VisibleForTesting transient int expectedValuesPerKey; /** * Creates a new, empty {@code ArrayListMultimap} with the default initial capacities. * * <p>You may also consider the equivalent {@code * MultimapBuilder.hashKeys().arrayListValues().build()}, which provides more control over the * underlying data structure. */ public static <K extends @Nullable Object, V extends @Nullable Object>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 6.8K 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-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/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) -
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) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
"JAAS AppConfigurationEntry requires non-null options"); } @Test @DisplayName("Repeated calls return distinct entries with equivalent semantics") void repeatedCalls_distinctEntriesSameSemantics() { // Arrange Map<String, Object> opts = new HashMap<>(); opts.put("doNotPrompt", "true");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java
* <ul> * <li>Return the same object if no processing is desired</li> * <li>Return a pooled equivalent object to reduce memory usage</li> * <li>Return a modified or optimized version of the object</li> * </ul> * * <p>The implementation must ensure that the returned object is functionally * equivalent to the input object from the perspective of the Maven model.</p> *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 4.3K bytes - Click Count (0)