- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 852 for jstream (0.16 sec)
-
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} } /** * Returns a stream over the values in this array, in order. * * @since NEXT (but since 22.0 in the JRE flavor) */ @SuppressWarnings("Java7ApiChecker") // If users use this when they shouldn't, we hope that NewApi will catch subsequent stream calls @IgnoreJRERequirement public LongStream stream() { return Arrays.stream(array, start, end); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 22.3K 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/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) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
} /** In-memory stream-based implementation of Hasher. */ private final class BufferingHasher extends AbstractHasher { final ExposedByteArrayOutputStream stream; BufferingHasher(int expectedInputSize) { this.stream = new ExposedByteArrayOutputStream(expectedInputSize); } @Override public Hasher putByte(byte b) { stream.write(b); return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 20 18:43:59 UTC 2021 - 3.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
} } /** * Retrieve a stream of the project's artifacts. * Do not include the POM artifact as the file can't be set anyway. */ private Stream<org.apache.maven.artifact.Artifact> getProjectArtifacts(MavenProject project) { return Stream.concat(Stream.of(project.getArtifact()), project.getAttachedArtifacts().stream()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K 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/app/service/AccessTokenService.java
} stream(accessToken.getPermissions()).of(stream -> stream.forEach(permissionSet::add)); final String name = accessToken.getParameterName(); stream(request.getParameterValues(name)).of(stream -> stream.filter(StringUtil::isNotBlank).forEach(permissionSet::add)); return OptionalEntity.of(permissionSet);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java
body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); body.virtualHosts = stream(entity.getVirtualHosts()) .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java
body.permissions = stream(entity.getPermissions()).get(stream -> stream.map(s -> permissionHelper.decode(s)) .filter(StringUtil::isNotBlank).distinct().collect(Collectors.joining("\n"))); body.virtualHosts = stream(entity.getVirtualHosts()) .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0)