- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 395 for Ordering (0.09 seconds)
-
android/guava/src/com/google/common/graph/AbstractNetwork.java
if (!isOrderingCompatible(endpoints)) { return false; } return hasEdgeConnecting(endpoints.nodeU(), endpoints.nodeV()); } /** * Throws an IllegalArgumentException if the ordering of {@code endpoints} is not compatible with * the directionality of this graph. */ protected final void validateEndpoints(EndpointPair<?> endpoints) { checkNotNull(endpoints);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
} /** * Tests that events are distributed to any subscribers to their type or any supertype, including * interfaces and superclasses. * * <p>Also checks delivery ordering in such cases. */ public void testPolymorphicDistribution() { // Three catchers for related types String, Object, and Comparable<?>. // String isa Object // String isa Comparable<?>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
} /** * Tests that events are distributed to any subscribers to their type or any supertype, including * interfaces and superclasses. * * <p>Also checks delivery ordering in such cases. */ public void testPolymorphicDistribution() { // Three catchers for related types String, Object, and Comparable<?>. // String isa Object // String isa Comparable<?>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
* invoke methods, they invoke methods on the {@code ForwardingNavigableSet}. * * <p>Each of the {@code standard} methods uses the set's comparator (or the natural ordering of the * elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Set} * contract. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
when(mockCtx.isMICAvailable()).thenReturn(true); // Act useContext(mockCtx); // Assert: verify key interactions and ordering where meaningful InOrder inOrder = inOrder(mockCtx); inOrder.verify(mockCtx).getSigningKey(); inOrder.verify(mockCtx).isEstablished();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
if (forwardCmp == null) { forwardCmp = (Comparator) Ordering.natural(); } result = comparator = reverse(forwardCmp); } return result; } // If we inline this, we get a javac error. private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) { return Ordering.from(forward).reverse(); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
public boolean containsKey(@Nullable Object key) { // does not impact recency ordering if (key == null) { return false; } int hash = hash(key); return segmentFor(hash).containsKey(key, hash); } @Override public boolean containsValue(@Nullable Object value) { // does not impact recency ordering if (value == null) { return false; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
containers) when defining configurable parts of a plugin (tasks, extensions, domain objects). The Provider API provides a consistent way to set conventions, wire related configuration together (extension <- domain object <- task) and avoid evaluation ordering problems. The Gradle codebase has evolved over time and has a mixture of simple getter/setter methods, Provider API and things in between. It can be hard to follow best practices because Gradle provided types are reused in unexpected ways...
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
.that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { // This is the only ordering for primitives that does not have a // corresponding Comparable wrapper in java.lang. for (int i = 0; i < VALUES.length; i++) { for (int j = 0; j < VALUES.length; j++) { byte x = VALUES[i];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* attempts to {@code take} an element from an empty queue will similarly block. * * <p>This class supports an optional fairness policy for ordering waiting producer and consumer * threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness * set to {@code true} grants threads access in FIFO order. Fairness generally decreases throughputCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0)