- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 1,777 for Equals (0.13 sec)
-
guava-tests/test/com/google/common/io/IoTestCase.java
URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java
+ " Optional=" + (artifact.isOptional() ? "true" : "false")); assertTrue( artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
return (Path) Proxy.newProxyInstance( ExclusionArtifactFilter.class.getClassLoader(), new Class[] {Path.class}, (proxy1, method, args) -> { if ("toString".equals(method.getName())) { return value; } throw new UnsupportedOperationException(); }); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java
} @Override public <E extends Comparable<?>> E max(Iterable<E> iterable) { return NaturalOrdering.INSTANCE.min(iterable); } // preserving singleton-ness gives equals()/hashCode() for free private Object readResolve() { return INSTANCE; } @Override public String toString() { return "Ordering.natural().reverse()"; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
@Deprecated(since = "4.0.0") public class ArtifactDescriptorUtils { public static Artifact toPomArtifact(Artifact artifact) { Artifact pomArtifact = artifact; if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) { pomArtifact = new DefaultArtifact(artifact.getGroupId(), artifact.getArtifactId(), "pom", artifact.getVersion()); } return pomArtifact; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
} class TestDomainObject implements Attachable<TestDomainObject>, Serializable { def value TestDomainObject(String value) { this.value = value } @Override boolean equals(Object o) { return o.value == value } @Override int hashCode() { return value.hashCode() } void attach(ClassMetaDataRepository<TestDomainObject> repository) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java
return null; }); getUserBean().ifPresent(u -> { if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) { throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL)); } }); try { userService.delete(entity);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
true } catch (verifyFailed: GeneralSecurityException) { false } } override fun hashCode(): Int { return trustRootIndex.hashCode() } override fun equals(other: Any?): Boolean { return if (other === this) { true } else { other is BasicCertificateChainCleaner && other.trustRootIndex == trustRootIndex } } companion object {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0)