- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 697 for Streams (0.08 sec)
-
android/guava/src/com/google/common/primitives/Shorts.java
* compares, using {@link #compare(short, short)}), the first pair of values that follow any * common prefix, or when one array is a prefix of the other, treats the shorter array as the * lesser. For example, {@code [] < [(short) 1] < [(short) 1, (short) 2] < [(short) 2]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arraysRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
protected String[] toStringArray(final Object value) { if (value instanceof String[]) { return (String[]) value; } else if (value instanceof List) { return ((List<?>) value).stream().map(v -> v.toString()).toArray(n -> new String[n]); } String str = DfTypeUtil.toString(value); if (str == null) { return null; } return new String[] { str };
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 26.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
fail(); } catch (final ChildUrlsException e) { final Set<RequestData> urlSet = e.getChildUrlList(); assertEquals(5, urlSet.size()); final List<String> urlList = urlSet.stream().map(x -> x.getUrl()).sorted().toList(); assertEquals("ftp://localhost:10021/dir1", urlList.get(0)); assertEquals("ftp://localhost:10021/dir2", urlList.get(1));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* compares, using {@link #compare(int, int)}), the first pair of values that follow any common * prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For * example, {@code [] < [1] < [1, 2] < [2] < [1 << 31]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arraysRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
synchronized SmbFileHandleImpl ensureOpen() throws CIFSException { // ensure file is open if (this.handle == null || !this.handle.isValid()) { // one extra acquire to keep this open till the stream is released this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire(); return this.handle; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
ArgumentCaptor<Integer> lenCap = ArgumentCaptor.forClass(Integer.class); verify(raf, atLeast(2)).write(any(byte[].class), anyInt(), lenCap.capture()); assertTrue(lenCap.getAllValues().stream().allMatch(len -> len == 1)); } @Test @DisplayName("write(short/char/int/long/float/double): correct byte lengths") void write_multiByteVariants_lengths() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
// We serialize by default to ImmutableList, the simplest thing that works. return new ImmutableList.SerializedForm(toArray()); } @J2ktIncompatible // serialization private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /** * Abstract base class for builders of {@link ImmutableCollection} types. * * @since 10.0Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import java.util.function.BiPredicate; import java.util.stream.Collector; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
protected String[] toStringArray(final Object value) { if (value instanceof String[]) { return (String[]) value; } else if (value instanceof List) { return ((List<?>) value).stream().map(v -> v.toString()).toArray(n -> new String[n]); } String str = DfTypeUtil.toString(value); if (str == null) { return null; } return new String[] { str };
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 26.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
fail("Expected DecodingException"); } catch (DecodingException expected) { // Don't assert on the expectedMessage; the messages for exceptions thrown from the // decoding stream may differ from the messages for the decode methods. } catch (IOException e) { fail("Expected DecodingException but got: " + e); } } };
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0)