Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 89 for anymatch (0.18 seconds)

  1. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if any element in {@code iterable} satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch}.
       */
      public static <T extends @Nullable Object> boolean any(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.any(iterable.iterator(), predicate);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/PrunedTag.java

                        final String value = classAttr.getNodeValue();
                        if (StringUtil.isNotBlank(value)) {
                            return StreamUtil.split(value, " ").get(stream -> stream.anyMatch(s -> css.equals(s)));
                        }
                    }
                } else {
                    final Node idAttr = node.getAttributes().getNamedItem("id");
                    if (idAttr != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

         */
        protected boolean isTargetUser(final String username) {
            if (targetUsers == null) {
                return true;
            }
            return stream(targetUsers).get(stream -> stream.anyMatch(s -> s.equals(username)));
        }
    
        /**
         * Executes an external command with the given parameters.
         * @param commands The command array to execute.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final Object titleObj = dataMap.get(fessConfig.getIndexFieldTitle());
            if (titleObj != null) {
                if (titleObj instanceof String[]) {
                    return stream((String[]) titleObj).get(stream -> stream.anyMatch(StringUtil::isNotBlank));
                }
                return StringUtil.isNotBlank(titleObj.toString());
            }
            return false;
        }
    
        /**
         * Create the parameters for extraction.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            if (logger.isDebugEnabled()) {
                logger.debug("Backup download requested: id={}", id);
            }
    
            if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) {
                if ("system.properties".equals(id)) {
                    return asStream(id).contentTypeOctetStream().stream(out -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                if (searchLog != null) {
                    final String userAgent = searchLog.getUserAgent();
                    final boolean isBot =
                            userAgent != null && stream(botNames).get(stream -> stream.anyMatch(botName -> userAgent.indexOf(botName) >= 0));
                    if (!isBot) {
                        searchLog.getUserInfo().ifPresent(userInfo -> {
                            final String code = userInfo.getId();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    // Verify expected shares are present
                    List<String> shareList = List.of(shares);
                    boolean hasPublic = shareList.stream().anyMatch(s -> s.toLowerCase().contains("public"));
                    boolean hasShared = shareList.stream().anyMatch(s -> s.toLowerCase().contains("shared"));
    
                    assertTrue(hasPublic || hasShared, "Should contain expected shares");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/AddMatch.java

     */
    public class AddMatch implements RestTestTransformByParentArray {
        private static JsonNodeFactory jsonNodeFactory = JsonNodeFactory.withExactBigDecimals(false);
        private final String matchKey;
        private final String testName;
        private final JsonNode matchValue;
    
        public AddMatch(String matchKey, JsonNode matchValue, String testName) {
            this.matchKey = matchKey;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/KeyMatch.java

     */
    package org.codelibs.fess.opensearch.config.exentity;
    
    import org.codelibs.fess.opensearch.config.bsentity.BsKeyMatch;
    
    /**
     * @author FreeGen
     */
    public class KeyMatch extends BsKeyMatch {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/KeyMatchService.java

         */
        public OptionalEntity<KeyMatch> getKeyMatch(final String id) {
            return keyMatchBhv.selectByPK(id);
        }
    
        /**
         * Store a key match.
         *
         * @param keyMatch The key match to store.
         */
        public void store(final KeyMatch keyMatch) {
    
            keyMatchBhv.insertOrUpdate(keyMatch, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top