Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,977 for Equals (0.19 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/base/Predicates.java

          return target.equals(o);
        }
    
        @Override
        public int hashCode() {
          return target.hashCode();
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof IsEqualToPredicate) {
            IsEqualToPredicate that = (IsEqualToPredicate) obj;
            return target.equals(that.target);
          }
          return false;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

            } else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile scope. Remove if you want compile inherited as runtime
                effectiveScope = Artifact.SCOPE_COMPILE;
            } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                effectiveScope = Artifact.SCOPE_TEST;
            } else if (Artifact.SCOPE_PROVIDED.equals(inheritedScope)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  6. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Helpers {
      // Clone of Objects.equal
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                        && extension.equals(that.extension)
                        && version.equals(that.version)
                        && context.equals(that.context)
                        && localRepo.equals(that.localRepo)
                        && Objects.equals(workspace, that.workspace)
                        && repositories.equals(that.repositories);
            }
    
            @Override
            public int hashCode() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/base/CharsetsTest.java

        byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII);
        byte[] b5 = "スューー".getBytes(Charsets.US_ASCII);
        // Assert they are all equal (using the transitive property)
        assertTrue(Arrays.equals(b1, b2));
        assertTrue(Arrays.equals(b2, b3));
        assertTrue(Arrays.equals(b3, b4));
        assertTrue(Arrays.equals(b4, b5));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top