- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 550 for HashCode (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Developer}. * */ class DeveloperTest { @Test void testHashCodeNullSafe() { new Developer().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Developer().equals(null)); new Developer().equals(new Developer()); } @TestCreated: 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/ParentTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Parent}. * */ class ParentTest { @Test void testHashCodeNullSafe() { new Parent().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Parent().equals(null)); new Parent().equals(new Parent()); } @Test void testEqualsIdentity() {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/PrerequisitesTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Prerequisites}. * */ class PrerequisitesTest { @Test void testHashCodeNullSafe() { new Prerequisites().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Prerequisites().equals(null)); new Prerequisites().equals(new Prerequisites()); } @TestCreated: 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/SiteTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Site}. * */ class SiteTest { @Test void testHashCodeNullSafe() { new Site().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Site().equals(null)); new Site().equals(new Site()); } @Test void testEqualsIdentity() {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) -
android/guava/src/com/google/common/collect/Multimap.java
* with the same key-value mappings will have the same {@code hashCode}, but the {@code hashCode} * of {@link ListMultimap} instances depends on the ordering of the values for each key. */ @Override int hashCode();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
&& isHashCodeFast() && ((ImmutableSet<?>) object).isHashCodeFast() && hashCode() != object.hashCode()) { return false; } return Sets.equalsImpl(this, object); } @Override public int hashCode() { return Sets.hashCodeImpl(this); } // This declaration is needed to make Set.iterator() and // ImmutableCollection.iterator() consistent.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt
var length: Long, ) { val isEndOfData: Boolean get() = tagClass == TAG_CLASS_UNIVERSAL && tag == TAG_END_OF_CONTENTS // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + tagClass result = 31 * result + tag.toInt() result = 31 * result + (if (constructed) 0 else 1)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.3K bytes - Click Count (0) -
guava/src/com/google/common/base/FunctionalEquivalence.java
return function.equals(that.function) && resultEquivalence.equals(that.resultEquivalence); } return false; } @Override public int hashCode() { return Objects.hashCode(function, resultEquivalence); } @Override public String toString() { return resultEquivalence + ".onResultOf(" + function + ")"; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java
return o instanceof DefaultArtifactInstallerRequest that && Objects.equals(artifacts, that.artifacts); } @Override public int hashCode() { return Objects.hashCode(artifacts); } @Override public String toString() { return "ArtifactInstallerRequest[" + "artifacts=" + artifacts + ']'; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LegacyComparable.java
LegacyComparable that = (LegacyComparable) object; return this.value.equals(that.value); } return false; } @Override public int hashCode() { return value.hashCode(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0)