Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for anymatch (0.17 sec)

  1. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

        public boolean hasRole(final String role) {
            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
        public boolean hasGroup(final String group) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
                                || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
                        .orElse(false)) {
                    return p.getSecond();
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                                .stream()
                                .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[0].toLowerCase())),
                        doc.toString());
                assertFalse(
                        doc.entrySet()
                                .stream()
                                .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[2].toLowerCase())),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                            return false;
                        }
                        if (Arrays.stream(webProtocols).anyMatch(p -> s.startsWith(p))) {
                            return web;
                        }
                        if (Arrays.stream(fileProtocols).anyMatch(p -> s.startsWith(p))) {
                            return file;
                        }
                        return true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/it/admin/PluginTests.java

                                    .get("response.plugins");
                    boolean exists = installed.stream()
                            .map(this::getArtifactFromMap)
                            .anyMatch(a -> a.getName().equals(target.getName()) && a.getVersion().equals(target.getVersion()));
                    if (!exists) {
                        ThreadUtil.sleep(500);
                        continue;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * @return true if the URL starts with a supported web protocol, false otherwise
         */
        public boolean isValidWebProtocol(final String url) {
            return stream(webProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s)));
        }
    
        /**
         * Checks if the given URL uses a valid file protocol.
         *
         * @param url the URL to validate
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            boolean hasThreadEntry = capturedOutput.stream().anyMatch(line -> line.startsWith("Thread:"));
            assertTrue("Should contain Thread: entries", hasThreadEntry);
    
            // Verify format - should contain stack trace entries
            boolean hasStackTrace = capturedOutput.stream().anyMatch(line -> line.startsWith("\tat "));
            assertTrue("Should contain stack trace entries", hasStackTrace);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns {@code true} if any element in this fluent iterable satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

      }
    
      /**
       * Returns {@code true} if any element in this fluent iterable satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch} (same).
       */
      public final boolean anyMatch(Predicate<? super E> predicate) {
        return Iterables.any(getDelegate(), predicate);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

        @PostConstruct
        public void init() {
            final String filetypeField = ComponentUtil.getFessConfig().getIndexFieldFiletype();
            final Collection<String> values = queryMap.values();
            if (values.stream().anyMatch(s -> s.startsWith(filetypeField))) {
                final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH);
                final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top