- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 153 for inequality (0.07 seconds)
-
android/guava-tests/test/com/google/common/math/QuantilesTest.java
Correspondence.from( new BinaryPredicate<Double, Double>() { @Override public boolean apply(@Nullable Double actual, @Nullable Double expected) { // Test for equality to allow non-finite values to match; otherwise, use the finite // test. return actual.equals(expected) || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
Correspondence.from( new BinaryPredicate<Double, Double>() { @Override public boolean apply(@Nullable Double actual, @Nullable Double expected) { // Test for equality to allow non-finite values to match; otherwise, use the finite // test. return actual.equals(expected) || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 13.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* lesser. For example, {@code [] < [false] < [false, true] < [true]}. * * <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(boolean[], * boolean[])}. * * @since 2.0 */ public static Comparator<boolean[]> lexicographicalComparator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 25 15:01:23 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* TypeVariable must have a different declaration or name. The only TypeVariable that our * new TypeVariable _will_ be equal to is an equivalent TypeVariable that was also created * by us. And that equality is guaranteed to hold because it doesn't involve the JDK * TypeVariable implementation at all. * * NOTE: b/147144588 - Custom TypeVariables created by Guava do not preserveCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* unsigned. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link * java.util.Arrays#equals(byte[], byte[])}. * * <p><b>Java 9+ users:</b> Use {@link Arrays#compareUnsigned(byte[], byte[]) * Arrays::compareUnsigned}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
private static void assertActuallyTrims(ImmutableIntArray iia) { ImmutableIntArray 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(ImmutableIntArray iia) { assertThat(iia.trimmed()).isSameInstanceAs(iia); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.2K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 21.9K bytes - Click Count (0)