- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for AsList (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testConcatUnmodifiable() { new IteratorTester<Integer>( 5, UNMODIFIABLE, asList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<Integer> newTargetIterator() { return Iterators.concat( asList(1).iterator(), Arrays.<Integer>asList().iterator(), asList(2).iterator()); } }.test(); } public void testConcatPartiallyAdvancedSecond() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testConcatUnmodifiable() { new IteratorTester<Integer>( 5, UNMODIFIABLE, asList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) { @Override protected Iterator<Integer> newTargetIterator() { return Iterators.concat( asList(1).iterator(), Arrays.<Integer>asList().iterator(), asList(2).iterator()); } }.test(); } public void testConcatPartiallyAdvancedSecond() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
fun responseBodyFailHttp1OverHttps() { enableTlsWithTunnel() server.protocols = Arrays.asList(Protocol.HTTP_1_1) responseBodyFail(Protocol.HTTP_1_1) } @Test fun responseBodyFailHttp2OverHttps() { platform.assumeHttp2Support() enableTlsWithTunnel() server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1) responseBodyFail(Protocol.HTTP_2) } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertEquals(ImmutableMap.of(1, 1), cache.getAll(asList(1))); stats = cache.stats(); assertEquals(1, stats.missCount()); assertEquals(1, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); assertEquals(ImmutableMap.of(1, 1, 2, 2, 3, 3, 4, 4), cache.getAll(asList(1, 2, 3, 4))); stats = cache.stats();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments(); assertThat(typeArgs).asList().hasSize(1); TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0]; assertThat(captured.getBounds()).asList().contains(Number.class); assertThat(captured.getBounds()) .asList() .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* deterministic iteration behavior. * * <p>This method is just a small convenience, either for {@code newHashSet(}{@link Arrays#asList * asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}. * This method is not actually very useful and will likely be deprecated in the future. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
fail(); } catch (IllegalStateException expected2) { } try { ClosingFuture.whenAllComplete(asList(closingFuture)); fail(); } catch (IllegalStateException expected1) { } try { ClosingFuture.whenAllSucceed(asList(closingFuture)); fail(); } catch (IllegalStateException expected) { } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 75.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments(); assertThat(typeArgs).asList().hasSize(1); TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0]; assertThat(captured.getBounds()).asList().contains(Number.class); assertThat(captured.getBounds()) .asList() .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* * <p><b>Note:</b> It is often preferable to represent your data using a collection type, for * example using {@link Arrays#asList(Object[])}, making this method unnecessary. * * <p>The {@code Iterable} equivalent of this method is either {@link Arrays#asList(Object[])}, * {@link ImmutableList#copyOf(Object[])}}, or {@link ImmutableList#of}. */ @SafeVarargs
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* FIRST_LETTER_MULTIMAP.putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a')); * FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('p', 'p', 'l', 'e')); * FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't')); * FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's')); * FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y')); * } * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0)