- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 186 for equality (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* ``` * Content-Type: text/html * Content-Length: 050 * ``` * * Applications that require semantically equal headers should convert them into a canonical form * before comparing them for equality. */ override fun equals(other: Any?): Boolean = commonEquals(other) override fun hashCode(): Int = commonHashCode() /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multiset.java
import java.util.Spliterator; import java.util.function.Consumer; import java.util.function.ObjIntConsumer; import org.jspecify.annotations.Nullable; /** * A collection that supports order-independent equality, like {@link Set}, but may have duplicate * elements. A multiset is also sometimes called a <i>bag</i>. * * <p>Elements of a multiset that are equal to one another are referred to as <i>occurrences</i> ofCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
* * <p>Each of the {@code standard} methods uses the map'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 Map} * contract. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
* * <p>Each of the {@code standard} methods uses the map'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 Map} * contract. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.3K bytes - Click Count (0) -
guava/src/com/google/common/math/Stats.java
*/ public double max() { checkState(count != 0); return max; } /** * {@inheritDoc} * * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating * point values. Two instances are guaranteed to be considered equal if one is copied from the
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// WARMUP_MAX), but the tests assume no values get evicted. Even with a maximumSize of 100, one // of the values gets evicted. With weak keys, we use identity equality, which means using // System.identityHashCode, which means the assignment of keys to segments is nondeterministic, // so more than (maximumSize / #segments) keys could get assigned to the same segment, whichCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 15.7K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
* <li>A and B have equal {@link #nodes() node sets}. * <li>A and B have equal {@link #edges() edge sets}. * </ul> * * <p>Graph properties besides {@link #isDirected() directedness} do <b>not</b> affect equality. * For example, two graphs may be considered equal even if one allows self-loops and the other * doesn't. Additionally, the order in which nodes or edges are added to the graph, and the order
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 13.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* example, {@code [] < [1] < [1, 2] < [2] < [1 << 31]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(int[], int[])}. * * <p><b>Java 9+ users:</b> Use {@link Arrays#compareUnsigned(int[], int[]) * Arrays::compareUnsigned}. */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Feb 09 16:22:33 GMT 2025 - 13.8K bytes - Click Count (0) -
guava/src/com/google/common/graph/Graph.java
* <li>A and B have equal {@link #nodes() node sets}. * <li>A and B have equal {@link #edges() edge sets}. * </ul> * * <p>Graph properties besides {@link #isDirected() directedness} do <b>not</b> affect equality. * For example, two graphs may be considered equal even if one allows self-loops and the other * doesn't. Additionally, the order in which nodes or edges are added to the graph, and the order
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 13.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
private static void assertActuallyTrims(ImmutableDoubleArray iia) { ImmutableDoubleArray trimmed = iia.trimmed(); assertThat(trimmed).isNotSameInstanceAs(iia); // Yes, this is apparently how you check array equality in Truth assertThat(trimmed.toArray()).isEqualTo(iia.toArray()); } private static void assertDoesntActuallyTrim(ImmutableDoubleArray iia) { assertThat(iia.trimmed()).isSameInstanceAs(iia); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K bytes - Click Count (0)