Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for allMatch (0.18 sec)

  1. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            chains().of(stream -> stream.forEach(c -> c.update(user)));
        }
    
        public boolean changePassword(final String username, final String password) {
            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
        public User load(final User user) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        }
    
        protected boolean isEmptyArray(final String[] values) {
            if (values == null || values.length == 0) {
                return true;
            }
            return stream(values).get(stream -> stream.allMatch(StringUtil::isBlank));
        }
    
        protected static String[] simplifyArray(final String[] values) {
            return stream(values).get(stream -> stream.filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        Predicate<String> predicate = Predicates.equalTo("cool");
    
        assertTrue(iterable.allMatch(predicate));
        list.add("cool");
        assertTrue(iterable.allMatch(predicate));
        list.add("pants");
        assertFalse(iterable.allMatch(predicate));
      }
    
      public void testFirstMatch() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                        }
                    }
                    if (logger.isDebugEnabled()) {
                        logger.debug("generator path: {}", s);
                    }
                    return s;
                }).allMatch(s -> {
                    final boolean found = new File(s).isFile();
                    if (found && logger.isDebugEnabled()) {
                        logger.debug("{} is found.", s);
                    }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        Predicate<String> predicate = Predicates.equalTo("cool");
    
        assertTrue(iterable.allMatch(predicate));
        list.add("cool");
        assertTrue(iterable.allMatch(predicate));
        list.add("pants");
        assertFalse(iterable.allMatch(predicate));
      }
    
      public void testFirstMatch() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FluentIterable.java

       * fluent iterable is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch} (same).
       */
      public final boolean allMatch(Predicate<? super E> predicate) {
        return Iterables.all(getDelegate(), predicate);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

       * fluent iterable is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch} (same).
       */
      public final boolean allMatch(Predicate<? super E> predicate) {
        return Iterables.all(getDelegate(), predicate);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns {@code true} if every element in {@code iterable} satisfies the predicate. If {@code
       * iterable} is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch}.
       */
      public static <T extends @Nullable Object> boolean all(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.all(iterable.iterator(), predicate);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns {@code true} if every element in {@code iterable} satisfies the predicate. If {@code
       * iterable} is empty, {@code true} is returned.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#allMatch}.
       */
      public static <T extends @Nullable Object> boolean all(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.all(iterable.iterator(), predicate);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                propMap.put(SUGGEST_SEARCH_LOG_PERMISSIONS, validPermissionList);
            }
            final List<String> list = validPermissionList;
            return stream(permissions).get(stream -> stream.allMatch(v -> list.contains(v)));
        }
    
        String getRoleSearchUserPrefix();
    
        String getRoleSearchGuestPermissions();
    
        default List<String> getSearchGuestPermissionList() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
Back to top