Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,888 for equals (0.17 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * explicit {@code testEquals()} test in the corresponding {@code CTest} class, and {@code C} will
       * be excluded from the automated {@code equals} test performed by this method.
       */
      @Test
      public void testEquals() throws Exception {
        for (Class<?> classToTest :
            findClassesToTest(loadClassesInPackage(), EQUALS_TEST_METHOD_NAMES)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
          // But here we fully control the subclasses to ensure symmetry.
          if (getClass().isInstance(obj)) {
            Wrapper that = (Wrapper) obj;
            return wrapped.equals(that.wrapped);
          }
          return false;
        }
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        assertFalse(control("foo", 1).equals(entry("foo", 2)));
        assertFalse(entry("foo", 1).equals(control("bar", 1)));
        assertFalse(entry("foo", 1).equals(new Object()));
        assertFalse(entry("foo", 1).equals(null));
      }
    
      public void testEqualsNull() {
        assertEquals(control(NE, 1), entry(NE, 1));
        assertFalse(control(NE, 1).equals(entry(NE, 2)));
        assertFalse(entry(NE, 1).equals(control("bar", 1)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            }
    
            return Objects.equals(a1.getGroupId(), a2.getGroupId())
                    && Objects.equals(a1.getArtifactId(), a2.getArtifactId())
                    && Objects.equals(a1.getType(), a2.getType())
                    && Objects.equals(a1.getVersion(), a2.getVersion())
                    && Objects.equals(a1.getClassifier(), a2.getClassifier())
                    && Objects.equals(a1.getScope(), a2.getScope())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

            return "http.proxy.password".equals(key) //
                    || "ldap.admin.security.credentials".equals(key) //
                    || "spnego.preauth.password".equals(key) //
                    || "app.cipher.key".equals(key) //
                    || "oic.client.id".equals(key) //
                    || "oic.client.secret".equals(key);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            if (FormatType.SEARCH.name().equals(type)) {
                return FormatType.SEARCH;
            }
            if (FormatType.LABEL.name().equals(type)) {
                return FormatType.LABEL;
            }
            if (FormatType.POPULARWORD.name().equals(type)) {
                return FormatType.POPULARWORD;
            }
            if (FormatType.FAVORITE.name().equals(type)) {
                return FormatType.FAVORITE;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graph.java

       * same structural relationships as those in this graph.
       *
       * <p>Thus, two graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       * </ul>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ValueGraph.java

       * the same structural relationships as those in this graph.
       *
       * <p>Thus, two value graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. 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;
          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. 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;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top