Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,693 for equals (0.05 sec)

  1. 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)
  2. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        @Secured({ ROLE })
        public HtmlResponse upgradeFrom(final UpgradeForm form) {
            validate(form, messages -> {}, this::asIndexHtml);
            verifyToken(this::asIndexHtml);
    
            if (VERSION_13_0.equals(form.targetVersion)) {
                try {
                    upgradeFrom13_0();
                    upgradeFrom13_1();
                    upgradeFrom13_2();
                    upgradeFrom13_3();
                    upgradeFrom13_4();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. 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)
  5. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

            if (inheritedScope == null) {
                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
            } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile artifactScope. Remove if you want compile inherited as runtime
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

            AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null));
            assertTrue(filter1.equals(filter1));
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
            assertFalse(filter1.equals(filter2));
            assertFalse(filter2.equals(filter1));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(policy)) {
                return 2;
            } else if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(policy)) {
                return 0;
            } else {
                return 1;
            }
        }
    
        private int ordinalOfUpdatePolicy(String policy) {
            if (ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY.equals(policy)) {
                return 1440;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/EndpointPair.java

            // We already know that nodeU equals other.nodeU. Combined with the earlier statement,
            // and the transitive property of equality, this implies that nodeU equals nodeV.
            // If nodeU equals nodeV, condition1 == condition2, so checking condition1 is sufficient.
            return nodeV().equals(other.nodeV());
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
Back to top