- Sort Score
- Num 10 results
- Language All
Results 11 - 14 of 14 for allMatch (0.04 seconds)
-
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); } /**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) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
FluentIterable<String> iterable = FluentIterable.<String>from(list); Predicate<String> predicate = equalTo("cool"); assertTrue(iterable.allMatch(predicate)); list.add("cool"); assertTrue(iterable.allMatch(predicate)); list.add("pants"); assertFalse(iterable.allMatch(predicate)); } public void testFirstMatch() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
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)); } /** * Simplifies the array. * * @param values The array. * @return The simplified array. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8K bytes - Click Count (0) -
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> getSearchGuestRoleList() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 92.3K bytes - Click Count (0)