Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 931 for equals (0.06 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. 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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
    
            UpgradedProperty that = (UpgradedProperty) o;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 13 19:17:41 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. 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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

          throws Throwable {
        if (args == null) {
          args = NO_ARGS;
        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
        if (args.length == 1
            && method.getName().equals("equals")
            && method.getParameterTypes()[0] == Object.class) {
          Object arg = args[0];
          if (arg == null) {
            return false;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertTrue(kuromojiItem1.equals(kuromojiItem1));
            assertTrue(kuromojiItem1.equals(new KuromojiItem(1, "t1", "s1", "r1", "p1")));
            assertTrue(kuromojiItem1.equals(new KuromojiItem(2, "t1", "s1", "r1", "p1")));
            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "T1", "s1", "r1", "p1")));
            assertFalse(kuromojiItem1.equals(new KuromojiItem(1, "t1", "S1", "r1", "p1")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top