Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,777 for Equals (0.05 sec)

  1. guava/src/com/google/common/reflect/TypeParameter.java

      }
    
      @Override
      public final int hashCode() {
        return typeVariable.hashCode();
      }
    
      @Override
      public final boolean equals(@CheckForNull Object o) {
        if (o instanceof TypeParameter) {
          TypeParameter<?> that = (TypeParameter<?>) o;
          return typeVariable.equals(that.typeVariable);
        }
        return false;
      }
    
      @Override
      public String toString() {
        return typeVariable.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

                assertFalse(artifact.getArtifactId().equals("t07-d"));
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
                            return Boolean.parseBoolean(parser.getAttributeValue(i));
                        }
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
            if ("labels".equals(type)) {
                return FormatType.LABEL;
            }
            if ("popular-words".equals(type)) {
                return FormatType.POPULARWORD;
            }
            if ("favorites".equals(type)) {
                return FormatType.FAVORITES;
            }
            if ("health".equals(type)) {
                return FormatType.PING;
            }
            if ("suggest-words".equals(type)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof OrArtifactFilter)) {
                return false;
            }
    
            OrArtifactFilter other = (OrArtifactFilter) obj;
    
            return filters.equals(other.filters);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

                }
    
                SuggestItem mergedItem = item1;
                for (final SuggestItem item2 : items) {
                    if (item1.equals(item2)) {
                        continue;
                    }
    
                    final String item2Id = item2.getId();
                    if (item1Id.equals(item2Id)) {
                        mergedItem = SuggestItem.merge(mergedItem, item2);
                        mergedIdSet.add(item1Id);
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CloserTest.java

          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/CollectorTester.java

       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
          CollectorTester<T, A, R> of(Collector<T, A, R> collector) {
        return of(collector, Objects::equals);
      }
    
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

            }
            return Collections.emptyList();
        }
    
        @Override
        public boolean isTopProject() {
            return getBasedir().equals(getSession().getTopDirectory());
        }
    
        @Override
        public boolean isRootProject() {
            return getBasedir().equals(getRootDirectory());
        }
    
        @Override
        public Path getRootDirectory() {
            return project.getRootDirectory();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top