- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for anymatch (0.04 sec)
-
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) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
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) -
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) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.5K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
assertEquals(2, stopwordsFile.stopwordsItemList.size()); // The content creates two lines: "word\n1" and "word\" assertTrue(stopwordsFile.stopwordsItemList.stream().anyMatch(item -> item.getInput().contains("word"))); } // Test StopwordsUpdater inner class public void test_updater_writeOldItem() { loadTestData();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 29.8K 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; } /** * Create the parameters for extraction.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.6K bytes - Viewed (0)