Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 1,186 for equals (0.04 seconds)

  1. 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)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                }
    
                private boolean isQualifiedForInterpolation(Field field, Class<?> fieldType) {
                    if (Map.class.equals(fieldType) && "locations".equals(field.getName())) {
                        return false;
                    }
                    if (InputLocation.class.equals(fieldType)) {
                        return false;
                    }
    
                    //noinspection SimplifiableIfStatement
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingMap.java

       */
      protected boolean standardIsEmpty() {
        return !entrySet().iterator().hasNext();
      }
    
      /**
       * A sensible definition of {@link #equals} in terms of the {@code equals} method of {@link
       * #entrySet}. If you override {@link #entrySet}, you may wish to override {@link #equals} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@Nullable Object object) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        } catch (UnsupportedOperationException e) {
          return;
        }
    
        // Explicitly call `equals`; `assertEquals` might return fast
        assertTrue(map.equals(map));
        assertTrue(makePopulatedMap().equals(map));
        assertFalse(map.equals(emptyMap()));
        // no-inspection ObjectEqualsNull
        assertFalse(map.equals(null));
      }
    
      public void testEqualsForLargerMap() {
        if (!supportsPut) {
          return;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  5. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

         */
        public boolean equals(Object other) {
            if (this == other) {
                return true;
            } else if (other instanceof ToolchainModel that) {
                return java.util.Objects.equals(this.getType(), that.getType())
                    && java.util.Objects.equals(this.getProvides(), that.getProvides());
            } else {
                return false;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                                .anyMatch(project -> project.getGroupId().equals(plugin.getGroupId())
                                        && project.getArtifactId().equals(plugin.getArtifactId())
                                        && project.getVersion().equals(plugin.getVersion()));
    
                        return exception.getResults().stream()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  @Override
                  public int hashCode() {
                    return map.hashCode();
                  }
    
                  @Override
                  public boolean equals(@Nullable Object o) {
                    return map.equals(o);
                  }
    
                  @Override
                  public String toString() {
                    return map.toString();
                  }
    
                  @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            } else if (o == null || getClass() != o.getClass()) {
                return false;
            } else {
                PhaseId phaseId = (PhaseId) o;
                return Objects.equals(executionPoint(), phaseId.executionPoint())
                        && Objects.equals(phase(), phaseId.phase())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/graph/AbstractGraph.java

      public AbstractGraph() {}
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof Graph)) {
          return false;
        }
        Graph<?> other = (Graph<?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
            && edges().equals(other.edges());
      }
    
      @Override
      public final int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 15:22:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top