- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 583 for hashCodes (0.08 sec)
-
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
ArtifactVersion v1 = newArtifactVersion("1"); ArtifactVersion v2 = newArtifactVersion("1.0"); assertTrue(v1.equals(v2), "Expected " + v1 + " to equal " + v2); assertEquals(v1.hashCode(), v2.hashCode()); } @Test void testEqualsNullSafe() { assertFalse(newArtifactVersion("1").equals(null)); } @Test void testEqualsTypeSafe() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java
factory.addClient(regex, client, pos); } /** * Returns the hash code of the wrapped factory. * @return The hash code. */ @Override public int hashCode() { return factory.hashCode(); } /** * Adds a list of clients to the wrapped factory. * @param regexList The list of regular expressions for the clients. * @param client The CrawlerClient instance.
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.2K bytes - Viewed (10) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
} return try { toVerify.verify(signingCert.publicKey) true } catch (verifyFailed: GeneralSecurityException) { false } } override fun hashCode(): Int = trustRootIndex.hashCode() override fun equals(other: Any?): Boolean = if (other === this) { true } else { other is BasicCertificateChainCleaner && other.trustRootIndex == trustRootIndex }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Dependency}. * */ class DependencyTest { @Test void testHashCodeNullSafe() { new Dependency().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Dependency().equals(null)); new Dependency().equals(new Dependency()); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
/** * Tests {@code DistributionManagement}. * */ class DistributionManagementTest { @Test void testHashCodeNullSafe() { new DistributionManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DistributionManagement().equals(null)); new DistributionManagement().equals(new DistributionManagement()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Exclusion}. * */ class ExclusionTest { @Test void testHashCodeNullSafe() { new Exclusion().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Exclusion().equals(null)); new Exclusion().equals(new Exclusion()); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Plugin}. * */ class PluginTest { @Test void testHashCodeNullSafe() { new Plugin().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Plugin().equals(null)); new Plugin().equals(new Plugin()); } @Test void testEqualsIdentity() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code Profile}. * */ class ProfileTest { @Test void testHashCodeNullSafe() { new Profile().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Profile().equals(null)); new Profile().equals(new Profile()); } @Test void testEqualsIdentity() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code RepositoryPolicy}. * */ class RepositoryPolicyTest { @Test void testHashCodeNullSafe() { new RepositoryPolicy().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new RepositoryPolicy().equals(null)); new RepositoryPolicy().equals(new RepositoryPolicy()); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.7K bytes - Viewed (0)