Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,153 for Equals (0.06 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

        }
    
        private PluginInfo extractPluginInfo(Artifact artifact) {
            // sanity: jar, no classifier and file exists
            if (artifact != null
                    && "jar".equals(artifact.getExtension())
                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
                Path artifactPath = artifact.getPath();
                if (Files.isRegularFile(artifactPath)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof BloomFilter) {
          BloomFilter<?> that = (BloomFilter<?>) object;
          return this.numHashFunctions == that.numHashFunctions
              && this.funnel.equals(that.funnel)
              && this.bits.equals(that.bits)
              && this.strategy.equals(that.strategy);
        }
        return false;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 19:23:59 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

                    return repositories;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactResolverRequest that
                            && Objects.equals(coordinates, that.coordinates)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
                public int hashCode() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
      }
    
      static class SlowElement extends Element {
        SlowElement(int hash) {
          super(hash);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return slowItDown() != 1 && super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
          }
        }
        expectContents(expected);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Converter.java

        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          if (object instanceof ConverterComposition) {
            ConverterComposition<?, ?, ?> that = (ConverterComposition<?, ?, ?>) object;
            return this.first.equals(that.first) && this.second.equals(that.second);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 21:43:06 GMT 2025
    - 22.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
            if (isAndroid && p.equals(BAD_FOR_ANDROID_P) && q.equals(BAD_FOR_ANDROID_Q)) {
              // https://issuetracker.google.com/issues/37074172
              continue;
            }
    
            boolean dividesEvenly = p.remainder(q).equals(ZERO);
    
            try {
              BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Nov 19 01:35:24 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/graph/AbstractValueGraph.java

      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ValueGraph)) {
          return false;
        }
        ValueGraph<?, ?> other = (ValueGraph<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edgeValueMap(this).equals(edgeValueMap(other));
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Maps.java

         * <ul>
         *   <li>Its execution does not cause any observable side effects.
         *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equals
         *       Objects.equals}{@code (k1, k2) &&} {@link Objects#equals Objects.equals}{@code (v1,
         *       v2)} implies that {@code Objects.equals(transformer.transform(k1, v1),
         *       transformer.transform(k2, v2))}.
         * </ul>
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Maps.java

         * <ul>
         *   <li>Its execution does not cause any observable side effects.
         *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equals
         *       Objects.equals}{@code (k1, k2) &&} {@link Objects#equals Objects.equals}{@code (v1,
         *       v2)} implies that {@code Objects.equals(transformer.transform(k1, v1),
         *       transformer.transform(k2, v2))}.
         * </ul>
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
Back to Top