- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 149 for concat (0.17 sec)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
protected Iterator<Integer> newTargetIterator() { return Iterators.concat(); } }.test(); } @GwtIncompatible // slow (~5s) public void testConcatOneEmptyIteratorYieldsEmpty() { new EmptyIteratorTester() { @Override protected Iterator<Integer> newTargetIterator() { return Iterators.concat(iterateOver()); } }.test(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* iterator supports it. * * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code * Stream.concat(a, b)}. */ public static <T extends @Nullable Object> Iterable<T> concat( Iterable<? extends T> a, Iterable<? extends T> b) { return FluentIterable.concat(a, b); } /** * Combines three iterables into a single iterable. The returned iterable has an iterator that
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 19:38:27 GMT 2024 - 42.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} } public void testConcat() { assertThat(Floats.concat()).isEqualTo(EMPTY); assertThat(Floats.concat(EMPTY)).isEqualTo(EMPTY); assertThat(Floats.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY); assertThat(Floats.concat(ARRAY1)).isEqualTo(ARRAY1); assertThat(Floats.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1); assertThat(Floats.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 29.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
Long[] suffix = {86L, 99L}; Long[] all = concat(concat(prefix, elements), suffix); return makeArray(all).subArray(2, elements.length + 2).asList(); } } @J2ktIncompatible @GwtIncompatible // used only from suite private static Long[] concat(Long[] a, Long[] b) { return ObjectArrays.concat(a, b, Long.class); } @J2ktIncompatible
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
String expected = "abcde"; assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read()); assertEquals(expected, CharSource.concat(c1, c2, c3).read()); assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read()); assertFalse(CharSource.concat(c1, c2, c3).isEmpty()); CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read()); assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read()); assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3).iterator()).read()); assertEquals(expected.length, ByteSource.concat(b1, b2, b3).size()); assertFalse(ByteSource.concat(b1, b2, b3).isEmpty());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3)).read()); assertArrayEquals(expected, ByteSource.concat(b1, b2, b3).read()); assertArrayEquals(expected, ByteSource.concat(ImmutableList.of(b1, b2, b3).iterator()).read()); assertEquals(expected.length, ByteSource.concat(b1, b2, b3).size()); assertFalse(ByteSource.concat(b1, b2, b3).isEmpty());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ShortsTest.java
} } public void testConcat() { assertThat(Shorts.concat()).isEqualTo(EMPTY); assertThat(Shorts.concat(EMPTY)).isEqualTo(EMPTY); assertThat(Shorts.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY); assertThat(Shorts.concat(ARRAY1)).isEqualTo(ARRAY1); assertThat(Shorts.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1); assertThat(Shorts.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 26.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.concat()).isEqualTo(EMPTY); assertThat(Bytes.concat(EMPTY)).isEqualTo(EMPTY); assertThat(Bytes.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY); assertThat(Bytes.concat(ARRAY1)).isEqualTo(ARRAY1); assertThat(Bytes.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1); assertThat(Bytes.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1); assertThat(Bytes.concat(ARRAY1, ARRAY1, ARRAY1))
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 16.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* iterator supports it. * * <p><b>{@code Stream} equivalent:</b> use nested calls to {@link Stream#concat}, or see the * advice in {@link #concat(Iterable...)}. * * @since 20.0 */ public static <T extends @Nullable Object> FluentIterable<T> concat( Iterable<? extends T> a, Iterable<? extends T> b, Iterable<? extends T> c) { return concatNoDefensiveCopy(a, b, c); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.3K bytes - Viewed (0)