- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 582 for HashCode (0.05 sec)
-
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 + ']'; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Objects.java
* Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a * single Object array, do not get any special handling; their hash codes are based on identity * and not contents. * * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object thatRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 22:51:26 UTC 2025 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
for (E element : getOrderedElements()) { expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode()); } assertEquals( "A List's hashCode() should be computed from those of its elements.", expectedHashCode, getList().hashCode()); } /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
assertEquals(control("foo", 1).hashCode(), entry("foo", 1).hashCode()); assertEquals(control("bar", 2).hashCode(), entry("bar", 2).hashCode()); } public void testHashCodeNull() { assertEquals(control(NK, 1).hashCode(), entry(NK, 1).hashCode()); assertEquals(control("bar", NV).hashCode(), entry("bar", NV).hashCode()); assertEquals(control(NK, NV).hashCode(), entry(NK, NV).hashCode()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
HandleGuid guid2 = new HandleGuid(uuid); HandleGuid guid3 = new HandleGuid(); assertEquals(guid1, guid2); assertEquals(guid1.hashCode(), guid2.hashCode()); assertNotEquals(guid1, guid3); assertNotEquals(guid1.hashCode(), guid3.hashCode()); assertNotEquals(guid1, null); assertNotEquals(guid1, "not a guid"); } @Test public void testHandleGuidToString() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java
ids.add(artifact.getVersion()); } this.hashCode = 31 * files.hashCode() + 31 * ids.hashCode() + 31 * timestamps.hashCode() + 31 * sizes.hashCode(); } @Override public int hashCode() { return hashCode; } @Override public boolean equals(Object o) { if (o == this) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
} /** * Test of hashCode method, of class SmbShareInfo. */ @Test void testHashCode() { SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1"); SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2"); SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1"); assertEquals(instance1.hashCode(), instance2.hashCode());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0)