- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 850 for Streams (0.06 sec)
-
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
} } form.fields.entrySet().stream().filter(e -> e.getValue() != null).forEach(e -> { final String key = LaFunctions.u(e.getKey()); stream(e.getValue()).of(stream -> stream.filter(StringUtil::isNotBlank) .forEach(s -> pagingQueryList.add("fields." + key + "=" + LaFunctions.u(s)))); }); form.as.entrySet().stream().filter(e -> e.getValue() != null).forEach(e -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/FileTypeHelper.java
protected Map<String, String> mimetypeMap = new LinkedHashMap<>(); @PostConstruct public void init() { StreamUtil.split(ComponentUtil.getFessConfig().getIndexFiletype(), "\n") .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(s -> { final String[] values = StringUtils.split(s, "=", 2); if (values.length == 2) { mimetypeMap.put(values[0], values[1]);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
.stream(new ByteArrayInputStream("file1".getBytes()), 5, -1).contentType("application/octet-stream").build()); minioClient.putObject(PutObjectArgs.builder().bucket(bucketName).object("dir1/file2.txt") .stream(new ByteArrayInputStream("file2".getBytes()), 5, -1).contentType("application/octet-stream").build());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
} } stream(groups).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByGroup(s)))); stream(roles).of(stream -> stream.forEach(s -> permissionSet.add(systemHelper.getSearchRoleByRole(s)))); permissions = permissionSet.stream().filter(StringUtil::isNotBlank).distinct().toArray(n -> new String[n]); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) { if ("system.properties".equals(id)) { return asStream(id).contentTypeOctetStream().stream(out -> { try (final ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 6.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
public Iterator<Lifecycle> iterator() { return stream().toList().iterator(); } @Override public Stream<Lifecycle> stream() { return providers.stream().map(ExtensibleEnumProvider::provides).flatMap(Collection::stream); } @Override public Optional<Lifecycle> lookup(String id) { return stream().filter(lf -> Objects.equals(id, lf.id())).findAny(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
if (StringUtil.isBlank(slackWebhookUrls)) { return; } final String body = toSlackMessage(discloser); StreamUtil.split(slackWebhookUrls, "[,\\s]").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(url -> { try (CurlResponse response = Curl.post(url).header("Content-Type", "application/json").body(body).execute()) { if (response.getHttpStatusCode() == 200) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
}); } public void test_ofNull() { assertEquals(0, (int) StreamUtil.stream().get(s -> s.toArray().length)); Object[] o = {}; assertEquals(0, (int) StreamUtil.stream(o).get(s -> s.toArray().length)); Map<Object, Object> map = new HashMap<Object, Object>(); assertEquals(0, (int) StreamUtil.stream(map).get(s -> s.toArray().length)); } public void test_ofMap() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
} /** * Returns an immutable array containing all the values from {@code stream}, in order. * * @since 22.0 (but only since 33.4.0 in the Android flavor) */ public static ImmutableIntArray copyOf(IntStream stream) { // Note this uses very different growth behavior from copyOf(Iterable) and the builder. int[] array = stream.toArray(); return (array.length == 0) ? EMPTY : new ImmutableIntArray(array); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.ds; import static org.codelibs.core.stream.StreamUtil.stream; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0)