Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,228 for Equals (0.04 sec)

  1. guava/src/com/google/common/collect/Multiset.java

         * represent the same element and count. That is, two entries {@code a} and {@code b} are equal
         * if:
         *
         * {@snippet :
         * Objects.equals(a.getElement(), b.getElement())
         *     && a.getCount() == b.getCount()
         * }
         */
        @Override
        // TODO(kevinb): check this wrt TreeMultiset?
        boolean equals(@Nullable Object o);
    
        /**
         * {@inheritDoc}
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java

            boolean found = false;
            for (Iterator<Plugin> i = plugins.iterator(); i.hasNext() && !found; ) {
                Plugin plugin = i.next();
                if (plugin.getPrefix().equals(goalPrefix)) {
                    found = true;
                }
            }
            if (!found) {
                Plugin plugin = new Plugin();
                plugin.setPrefix(goalPrefix);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/PairwiseEquivalence.java

        }
        return hash;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof PairwiseEquivalence) {
          @SuppressWarnings("unchecked")
          PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) obj;
          return this.elementEquivalence.equals(that.elementEquivalence);
        }
    
        return false;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                }
    
                String mimeTypeStr = mimeType.toString();
                // Support PDF and common image formats
                return "application/pdf".equals(mimeTypeStr) || "image/jpeg".equals(mimeTypeStr) || "image/png".equals(mimeTypeStr);
            }
    
            @Override
            public boolean isAvailable() {
                return available;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         * Implementations must ensure that if two requests are equal according to
         * {@link #equals(Object)}, they have the same hashcode.
         *
         * @return a hash code value for this request
         */
        @Override
        int hashCode();
    
        /**
         * Returns {@code true} if the specified object is equal to this request.
         * Two requests are considered equal if they have the same type and all
         * significant fields are equal.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

         * @return true if the sort value is valid for facets ("count" or "index"), false otherwise
         */
        public boolean isFacetSortValue(final String sort) {
            return "count".equals(sort) || "index".equals(sort);
        }
    
        /**
         * Sets the fields that are allowed in API responses.
         *
         * @param fields array of field names that are allowed in API responses
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

            assertObjectNotNull("ck", ck);
            if (ck.equals(ConditionKey.CK_GREATER_THAN)) {
                builder.gt(value);
            } else if (ck.equals(ConditionKey.CK_GREATER_EQUAL)) {
                builder.gte(value);
            } else if (ck.equals(ConditionKey.CK_LESS_THAN)) {
                builder.lt(value);
            } else if (ck.equals(ConditionKey.CK_LESS_EQUAL)) {
                builder.lte(value);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                return sb.toString();
            }
    
            @Override
            public boolean equals(final Object other) {
                if (other == null || !(other instanceof MyToken)) {
                    return false;
                }
                final MyToken o = (MyToken) other;
                if (!word.equals(o.word)) {
                    return false;
                }
                if (startOffset != o.startOffset) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. 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);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

                queryBuf.append(lowerTerm != null ? "*".equals(Term.toString(lowerTerm)) ? "\\*" : Term.toString(lowerTerm) : "*");
                queryBuf.append(" TO ");
                final BytesRef upperTerm = termRangeQuery.getUpperTerm();
                queryBuf.append(upperTerm != null ? "*".equals(Term.toString(upperTerm)) ? "\\*" : Term.toString(upperTerm) : "*");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top