- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for concat (0.18 sec)
-
guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java
Float[] prefix = {Float.MIN_VALUE, Float.MAX_VALUE}; Float[] suffix = {(float) 86, (float) 99}; Float[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Float[] concat(Float[] left, Float[] right) { Float[] result = new Float[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE}; Long[] suffix = {(long) 86, (long) 99}; Long[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Long[] concat(Long[] left, Long[] right) { Long[] result = new Long[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 5.5K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
sources.add(newByteSource(start, span)); start += span; } ByteSource joined = ByteSource.concat(sources); assertTrue(newByteSource(0, start).contentEquals(joined)); } public void testReadSingleByte() throws Exception { ByteSource source = newByteSource(0, 10); ByteSource joined = ByteSource.concat(source, source); assertEquals(20, joined.size()); InputStream in = joined.openStream();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
sources.add(newByteSource(start, span)); start += span; } ByteSource joined = ByteSource.concat(sources); assertTrue(newByteSource(0, start).contentEquals(joined)); } public void testReadSingleByte() throws Exception { ByteSource source = newByteSource(0, 10); ByteSource joined = ByteSource.concat(source, source); assertEquals(20, joined.size()); InputStream in = joined.openStream();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.6K bytes - Viewed (0) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE}; Long[] suffix = {(long) 86, (long) 99}; Long[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Long[] concat(Long[] left, Long[] right) { Long[] result = new Long[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ObjectArraysTest.java
assertNull(array[0]); } @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class) public void testConcatEmptyEmpty() { String[] result = ObjectArrays.concat(new String[0], new String[0], String.class); assertEquals(String[].class, result.getClass()); assertThat(result).isEmpty(); } @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class) public void testConcatEmptyNonempty() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 8.8K bytes - Viewed (0) -
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 Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 29.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
public void testConcat() { assertThat(Booleans.concat()).isEqualTo(EMPTY); assertThat(Booleans.concat(EMPTY)).isEqualTo(EMPTY); assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY); assertThat(Booleans.concat(ARRAY_FALSE)).isEqualTo(ARRAY_FALSE); assertThat(Booleans.concat(ARRAY_FALSE)).isNotSameInstanceAs(ARRAY_FALSE); assertThat(Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)).isEqualTo(ARRAY_FALSE);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0)