Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,167 for Equals (0.04 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if ("always".equals(styleColor) || "yes".equals(styleColor) || "force".equals(styleColor)) {
                MessageUtils.setColorEnabled(true);
            } else if ("never".equals(styleColor) || "no".equals(styleColor) || "none".equals(styleColor)) {
                MessageUtils.setColorEnabled(false);
            } else if (!"auto".equals(styleColor) && !"tty".equals(styleColor) && !"if-tty".equals(styleColor)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  2. 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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/Types.java

        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          if (!(other instanceof ParameterizedType)) {
            return false;
          }
          ParameterizedType that = (ParameterizedType) other;
          return getRawType().equals(that.getRawType())
              && Objects.equals(getOwnerType(), that.getOwnerType())
              && Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments());
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  4. 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;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 13 19:17:41 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ForwardingObject.java

     *
     * <p>This class does <i>not</i> forward the {@code hashCode} and {@code equals} methods through to
     * the backing object, but relies on {@code Object}'s implementation. This is necessary to preserve
     * the symmetry of {@code equals}. Custom definitions of equality are usually based on an interface,
     * such as {@code Set} or {@code List}, so that the implementation of {@code equals} can cast the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

            // Support upgrades: 4.0.0 → 4.1.0, 4.0.0 → 4.2.0, 4.1.0 → 4.2.0
            if (MODEL_VERSION_4_0_0.equals(fromVersion)) {
                return MODEL_VERSION_4_1_0.equals(toVersion) || MODEL_VERSION_4_2_0.equals(toVersion);
            }
            if (MODEL_VERSION_4_1_0.equals(fromVersion)) {
                return MODEL_VERSION_4_2_0.equals(toVersion);
            }
    
            return false;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_VERSION.equals(test);
    
            if (reverse) {
                return !result;
            } else {
                return result;
            }
        }
    
        private boolean determineArchMatch(String arch) {
            String test = arch;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

            assertFalse(r1.hashCode() == r3.hashCode());
    
            assertTrue(r1.equals(r2), "Expected " + r1 + " to equal " + r2);
            assertTrue(r2.equals(r1), "Expected " + r2 + " to equal " + r1);
    
            assertFalse(r1.equals(r3), "Expected " + r1 + " to not equal " + r3);
            assertFalse(r3.equals(r1), "Expected " + r3 + " to not equal " + r1);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Functions.java

              ? uncheckedCastNullableTToT(result)
              : defaultValue;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof ForMapWithDefault) {
            ForMapWithDefault<?, ?> that = (ForMapWithDefault<?, ?>) o;
            return map.equals(that.map) && Objects.equals(defaultValue, that.defaultValue);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

     * change the behavior of {@link #equals}, which can lead to unexpected behavior. In this case, you
     * should override {@code equals} as well, either providing your own implementation, or delegating
     * to the provided {@code standardEquals} method.
     *
     * <p>Each of the {@code standard} methods, where appropriate, use {@link Objects#equals} to test
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top