- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 722 for Equalf (0.16 sec)
-
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
e, equalObject1 + " [group 1, item 1] must be Object#equals to " + notEqualObject1 + " [group 1, item 2]"); return; } fail("Should get not equal to equal object error"); } /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
// filter out equals/hashCode/toString if (method.getName().equals("equals") && method.getParameterTypes().length == 1 && method.getParameterTypes()[0] == Object.class) { continue; } if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) { continue; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
e, equalObject1 + " [group 1, item 1] must be Object#equals to " + notEqualObject1 + " [group 1, item 2]"); return; } fail("Should get not equal to equal object error"); } /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
// filter out equals/hashCode/toString if (method.getName().equals("equals") && method.getParameterTypes().length == 1 && method.getParameterTypes()[0] == Object.class) { continue; } if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) { continue; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
HashCode hashCodeA = HashCode.fromBytes(bytesA); HashCode hashCodeB = HashCode.fromBytes(bytesB); // They aren't equal... assertFalse(hashCodeA.equals(hashCodeB)); // But they still have the same Object#hashCode() value. // Technically not a violation of the equals/hashCode contract, but...? assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
* Compares the specified object to this multimap for equality. * * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values. * Equality does not depend on the ordering of keys or values. */ @Override public boolean equals(@CheckForNull Object object) { return super.equals(object); } private static final long serialVersionUID = 7431625294878419160L;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSetMultimap.java
* Compares the specified object to this multimap for equality. * * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values. * Equality does not depend on the ordering of keys or values. */ @Override public boolean equals(@CheckForNull Object object) { return super.equals(object); } private static final long serialVersionUID = 7431625294878419160L;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} @Override public boolean equals(@CheckForNull Object other) { if (!(other instanceof ParameterizedType)) { return false; } ParameterizedType that = (ParameterizedType) other; return getRawType().equals(that.getRawType()) && Objects.equal(getOwnerType(), that.getOwnerType()) && Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable; @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class Helpers { // Clone of Objects.equal static boolean equal(@Nullable Object a, @Nullable Object b) { return a == b || (a != null && a.equals(b)); } // Clone of Lists.newArrayList
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0)