- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,801 for equals (0.07 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
} @Test void testEqualsNullSafe() { assertFalse(new Contributor().equals(null)); new Contributor().equals(new Contributor()); } @Test void testEqualsIdentity() { Contributor thing = new Contributor(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
} @Test void testEqualsNullSafe() { assertFalse(new Extension().equals(null)); new Extension().equals(new Extension()); } @Test void testEqualsIdentity() { Extension thing = new Extension(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java
} @Test void testEqualsNullSafe() { assertFalse(new PluginContainer().equals(null)); new PluginContainer().equals(new PluginContainer()); } @Test void testEqualsIdentity() { PluginContainer thing = new PluginContainer(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
} @Test void testEqualsNullSafe() { assertFalse(new Relocation().equals(null)); new Relocation().equals(new Relocation()); } @Test void testEqualsIdentity() { Relocation thing = new Relocation(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ChangelogEntry.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
*/ protected ObjectUtil() { } /** * Returns true if the two objects are equal, or both are null. * * @param object1 the first object * @param object2 the second object * @return true if equal or both null, false otherwise */ public static boolean equals(final Object object1, final Object object2) { if (object1 == object2) { return true; }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
buf.append(")"); return buf.toString(); } /** * Returns whether the method is the {@literal equals(Object)} method. * * @param method * The method. Cannot be {@literal null} * @return {@literal true} if the method is {@literal equals(Object)} */ public static boolean isEqualsMethod(final Method method) { assertArgumentNotNull("method", method);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
@Test void testEqualsNullSafe() { assertFalse(new ActivationProperty().equals(null)); new ActivationProperty().equals(new ActivationProperty()); } @Test void testEqualsIdentity() { ActivationProperty thing = new ActivationProperty(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
} @Test void testEqualsNullSafe() { assertFalse(new Developer().equals(null)); new Developer().equals(new Developer()); } @Test void testEqualsIdentity() { Developer thing = new Developer(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0)