- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for anyMatch (0.07 sec)
-
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
String[] keywords = query.split(" "); assertTrue(doc.entrySet().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())), doc.toString()); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FluentIterableTest.java
FluentIterable<String> iterable = FluentIterable.<String>from(list); Predicate<String> predicate = equalTo("pants"); assertFalse(iterable.anyMatch(predicate)); list.add("cool"); assertFalse(iterable.anyMatch(predicate)); list.add("pants"); assertTrue(iterable.anyMatch(predicate)); } public void testAllMatch() { List<String> list = Lists.newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 30.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java
} } } public static boolean isSupportedLanguage(final String lang) { return StringUtil.isNotBlank(lang) && Stream.of(SUPPORTED_LANGUAGES).anyMatch(lang::equals); } protected Set<String> getAnalyzerNames() { final GetSettingsResponse response =
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
queue.stream().forEach(searchLog -> { 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();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 02:07:37 UTC 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
} } @Execute @Secured({ ROLE, ROLE + VIEW }) public ActionResponse download(final String id) { if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) { if ("system.properties".equals(id)) { return asStream(id).contentTypeOctetStream().stream(out -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 28.5K bytes - Viewed (0) -
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; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 23.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
} } private void persistResumptionData(MavenExecutionResult result, MavenSession session) { boolean hasLifecycleExecutionExceptions = result.getExceptions().stream().anyMatch(LifecycleExecutionException.class::isInstance); if (hasLifecycleExecutionExceptions) { MavenProject rootProject = session.getAllProjects().stream()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1)