- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,425 for equalTo (0.11 sec)
-
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
// [groupId]:artifactId if (selector.contains(":")) { String id = ':' + project.getArtifactId(); if (id.equals(selector)) { return true; } id = project.getGroupId() + id; return id.equals(selector); } // relative path, e.g. "sub", "../sub" or "." else if (reactorDirectory != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractMapEntryTest.java
// Explicitly call `equals`; `assertEquals` might return fast assertTrue(foo1.equals(foo1)); assertEquals(control("foo", 1), foo1); assertEquals(control("bar", 2), entry("bar", 2)); assertFalse(control("foo", 1).equals(entry("foo", 2))); assertFalse(foo1.equals(control("bar", 1))); assertFalse(foo1.equals(new Object())); assertFalse(foo1.equals(null)); } public void testEqualsNull() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/DefaultModelVersionProcessor.java
private static final String REVISION_PROPERTY = "revision"; @Override public boolean isValidProperty(String property) { return REVISION_PROPERTY.equals(property) || CHANGELIST_PROPERTY.equals(property) || SHA1_PROPERTY.equals(property); } @Override public void overwriteModelProperties(Properties modelProperties, ModelBuildingRequest request) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java
if (node2.metadata == null) { return metadata == null; } return metadata != null && metadata.toString().equals(node2.metadata.toString()); } else { return super.equals(obj); } } @Override public int hashCode() { if (metadata == null) { return super.hashCode(); } return metadata.toString().hashCode();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ByFunctionOrdering.java
} @Override public boolean equals(@CheckForNull Object object) { if (object == this) { return true; } if (object instanceof ByFunctionOrdering) { ByFunctionOrdering<?, ?> that = (ByFunctionOrdering<?, ?>) object; return this.function.equals(that.function) && this.ordering.equals(that.ordering); } return false; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ObjectUtilTest.java
* {@link org.codelibs.core.lang.ObjectUtil#equals(java.lang.Object, java.lang.Object)} * . */ @Test public void testEqualsObjectObject() { assertThat(ObjectUtil.equals(null, null), is(true)); assertThat(ObjectUtil.equals(null, ""), is(false)); assertThat(ObjectUtil.equals("", null), is(false)); assertThat(ObjectUtil.equals("", ""), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
} @Test void testEqualsNullSafe() { assertFalse(new Organization().equals(null)); new Organization().equals(new Organization()); } @Test void testEqualsIdentity() { Organization thing = new Organization(); assertTrue(thing.equals(thing)); } @Test void testToStringNullSafe() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java
} @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } AbstractLanguageElement that = (AbstractLanguageElement) o; return Objects.equals(rawCommentText, that.rawCommentText) && Objects.equals(annotationNames, that.annotationNames); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet)); assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 2.2K bytes - Viewed (0)