- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 392 for Iterables (0.52 sec)
-
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
* * {@snippet : * class MySubtypeTests extends SubtypeTester { * @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true) * public <T> Iterable<? extends T> listIsSubtypeOfIterable(List<T> list) { * return isSubtype(list); * } * * @TestSubtype * public List<String> intListIsNotSubtypeOfStringList(List<Integer> intList) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 25 23:29:58 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
public NavigableMap<K, V> create(Object... entries) { NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries); return map.descendingMap(); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { insertionOrder = castOrCopyToList(delegate.order(insertionOrder)); reverse(insertionOrder); return insertionOrder; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
return mapGenerator.samples(); } @Override public Entry<K, V>[] createArray(int length) { return mapGenerator.createArray(length); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return mapGenerator.order(insertionOrder); } @Override public Map<K, V> create(Object... elements) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 11K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
longManyValuesAccumulatorByAddAllVarargs = new StatsAccumulator(); longManyValuesAccumulatorByAddAllVarargs.addAll(Longs.toArray(LONG_MANY_VALUES)); } private static StatsAccumulator statsAccumulatorOf(Iterable<? extends Number> values) { StatsAccumulator accumulator = new StatsAccumulator(); accumulator.addAll(values); return accumulator; } public void testCount() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 36.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
.inOrder(); } public void testToMapWithNullKeys() { Iterable<@Nullable String> strings = asList("one", null, "three"); assertThrows( NullPointerException.class, () -> Maps.toMap((Iterable<String>) strings, Functions.constant("foo"))); } public void testToMapWithNullValues() { Iterable<String> strings = ImmutableList.of("one", "two", "three");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().put(key, value); } } @Override public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) { synchronized (mutex) { return delegate().putAll(key, values); } } @Override public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 53K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
synchronized (mutex) { return delegate().put(key, value); } } @Override public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) { synchronized (mutex) { return delegate().putAll(key, values); } } @Override public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 56.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
* whitespace. * * Instances of this class are immutable. Use [Builder] to create instances. */ @Suppress("NAME_SHADOWING") class Headers internal constructor( internal val namesAndValues: Array<String>, ) : Iterable<Pair<String, String>> { /** Returns the last value corresponding to the specified field, or null. */ operator fun get(name: String): String? = commonHeadersGet(namesAndValues, name) /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LoadingCache.java
* values * @throws ExecutionError if an error was thrown while loading the values * @since 11.0 */ @CanIgnoreReturnValue // TODO(b/27479612): consider removing this ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException; /** * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link * #getUnchecked} instead.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 8.3K bytes - Viewed (0)