Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 711 - 720 of 1,801 for equals (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getChecksumPolicy(), p2.getChecksumPolicy());
        }
    
        private static boolean repositoryEquals(RemoteRepository r1, RemoteRepository r2) {
            if (r1 == r2) {
                return true;
            }
    
            return Objects.equals(r1.getId(), r2.getId())
                    && Objects.equals(r1.getUrl(), r2.getUrl())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        if (this.certificateChainCleaner == certificateChainCleaner) {
          this
        } else {
          CertificatePinner(pins, certificateChainCleaner)
        }
    
      override fun equals(other: Any?): Boolean =
        other is CertificatePinner &&
          other.pins == pins &&
          other.certificateChainCleaner == certificateChainCleaner
    
      override fun hashCode(): Int {
        var result = 37
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
            boolean found = false;
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100);
            for (ProtwordsItem item : list) {
                if ("newWord".equals(item.getInput())) {
                    found = true;
                    break;
                }
            }
            assertTrue(found);
        }
    
        @Test
        public void test_update() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        };
      }
    
      @Override
      public int hashCode() {
        return asMapOfRanges().hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object o) {
        if (o instanceof RangeMap) {
          RangeMap<?, ?> rangeMap = (RangeMap<?, ?>) o;
          return asMapOfRanges().equals(rangeMap.asMapOfRanges());
        }
        return false;
      }
    
      @Override
      public String toString() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

                    return nature;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultVersionResolverRequest that
                            && Objects.equals(artifactCoordinates, that.artifactCoordinates)
                            && Objects.equals(repositories, that.repositories)
                            && nature == that.nature;
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/Traverser.java

     *       to be traversed is a tree or forest even if it is a subgraph of a graph which is neither.)
     *   <li>Are the node objects' implementations of {@code equals()}/{@code hashCode()} <a
     *       href="https://github.com/google/guava/wiki/GraphsExplained#non-recursiveness">recursive</a>?
     * </ol>
     *
     * <p>If your answers are:
     *
     * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

         * implement equals(), such as most Queue implementations, will get the same behavior from our
         * value-collection wrappers (and from Multimap.equals) as from the underlying Collection.
         */
        @SuppressWarnings("UndefinedEquals")
        public boolean equals(@Nullable Object object) {
          if (object == this) {
            return true;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

      public void testAsMapGet() {
        for (K key : sampleKeys()) {
          List<V> expectedValues = new ArrayList<>();
          for (Entry<K, V> entry : getSampleElements()) {
            if (entry.getKey().equals(key)) {
              expectedValues.add(entry.getValue());
            }
          }
    
          Collection<V> collection = multimap().asMap().get(key);
          if (expectedValues.isEmpty()) {
            assertNull(collection);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
                    if (!buffer.isEmpty()) {
                        buffer.append(", ");
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

       * version of the same domain name would not be considered equal.
       */
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
    
        if (object instanceof InternetDomainName) {
          InternetDomainName that = (InternetDomainName) object;
          return this.name.equals(that.name);
        }
    
        return false;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
Back to Top