- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,693 for equals (0.06 sec)
-
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
assertTrue(item + " must not be Object#equals to null", !item.equals(null)); assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals(
Registered: 2024-11-01 12:43 - Last Modified: 2023-10-31 19:11 - 6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
e, equalObject1 + " [group 1, item 1] must be Object#equals to " + notEqualObject1 + " [group 1, item 2]"); return; } fail("Should get not equal to equal object error"); } /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-18 15:00 - 12.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java
if (Artifact.SCOPE_COMPILE.equals(artifact.getScope())) { return compileScope; } else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) { return runtimeScope; } else if (Artifact.SCOPE_TEST.equals(artifact.getScope())) { return testScope; } else if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) { return providedScope;
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt
} when { "no-cache".equals(directive, ignoreCase = true) -> { noCache = true } "no-store".equals(directive, ignoreCase = true) -> { noStore = true } "max-age".equals(directive, ignoreCase = true) -> { maxAgeSeconds = parameter.toNonNegativeInt(-1) } "s-maxage".equals(directive, ignoreCase = true) -> {
Registered: 2024-11-01 11:42 - Last Modified: 2024-04-15 13:41 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
* * <pre> * ObjectUtil.equals(null, null) = true * ObjectUtil.equals(null, "") = false * ObjectUtil.equals("", null) = false * ObjectUtil.equals("", "") = true * ObjectUtil.equals(Boolean.TRUE, null) = false * ObjectUtil.equals(Boolean.TRUE, "true") = false * ObjectUtil.equals(Boolean.TRUE, Boolean.TRUE) = true
Registered: 2024-11-01 20:58 - Last Modified: 2024-03-07 01:59 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
if (URL_ELEMENT.equals(qName)) { sitemapUrl = new SitemapUrl(); } else if (LOC_ELEMENT.equals(qName) || LASTMOD_ELEMENT.equals(qName) || CHANGEFREQ_ELEMENT.equals(qName) || PRIORITY_ELEMENT.equals(qName)) { buf = new StringBuilder(); } } @Override
Registered: 2024-11-10 03:50 - Last Modified: 2024-10-12 01:40 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Objects.java
* equals()} contract. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link * java.util.Objects#equals} instead. */ public static boolean equal(@CheckForNull Object a, @CheckForNull Object b) { return a == b || (a != null && a.equals(b)); } /**
Registered: 2024-11-01 12:43 - Last Modified: 2024-07-22 19:03 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java
assertTrue(stemmerOverrideItem1.equals(stemmerOverrideItem1)); assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "a"))); assertTrue(stemmerOverrideItem1.equals(new StemmerOverrideItem(2, "aaa", "a"))); assertFalse(stemmerOverrideItem1.equals(new StemmerOverrideItem(1, "aaa", "b"))); assertFalse(stemmerOverrideItem1.equals(new StemmerOverrideItem(2, "bbb", "a")));
Registered: 2024-10-31 13:40 - Last Modified: 2024-02-22 01:37 - 2.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java
Registered: 2024-11-06 11:36 - Last Modified: 2024-08-13 19:17 - 8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
} if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathCompile)) { return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.compile); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) { return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime); } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) {
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 5.4K bytes - Viewed (0)