- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,525 for Equals (0.04 sec)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
} private PluginInfo extractPluginInfo(Artifact artifact) { // sanity: jar, no classifier and file exists if (artifact != null && "jar".equals(artifact.getExtension()) && "".equals(artifact.getClassifier()) && artifact.getPath() != null) { Path artifactPath = artifact.getPath(); if (Files.isRegularFile(artifactPath)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) { if (isAndroid && p.equals(BAD_FOR_ANDROID_P) && q.equals(BAD_FOR_ANDROID_Q)) { // https://issuetracker.google.com/issues/37074172 continue; } boolean dividesEvenly = p.remainder(q).equals(ZERO); try { BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 27.1K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
// 2.0.X == 2-X == 2.0.0.X for any string x checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals } } @Test public void testMng7714() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@SuppressWarnings("unchecked") Map<String, String> copy = (ArrayMap<String, String>) map.clone(); assertThat(map.equals(copy), is(true)); assertThat(map.equals(null), is(not(true))); map.put("3", "test3"); assertThat(map.equals(copy), is(not(true))); } /** * @throws Exception */ @Test public void testToString() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:34:36 UTC 2025 - 9.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java
return repositories; } @Override public boolean equals(Object o) { return o instanceof DefaultArtifactResolverRequest that && Objects.equals(coordinates, that.coordinates) && Objects.equals(repositories, that.repositories); } @Override public int hashCode() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:30:49 UTC 2025 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
} } static class SlowElement extends Element { SlowElement(int hash) { super(hash); } @Override public boolean equals(@Nullable Object obj) { return slowItDown() != 1 && super.equals(obj); } @Override public int hashCode() { return slowItDown() + hash; } @Override public int compareTo(Element e) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
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() { assertFalse(newArtifactVersion("1").equals("non-an-artifact-version-instance")); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.6K bytes - Viewed (0)