- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 376 for Iterables (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
} assertMultimapRemainsUnmodified(multimap, originalEntries); // Test #putAll(K, Collection<V>) try { multimap.putAll(sampleKey, sampleValueAsCollection); fail("putAll(K, Iterable) succeeded on unmodifiable multimap"); } catch (UnsupportedOperationException expected) { } assertMultimapRemainsUnmodified(multimap, originalEntries); // Test #putAll(Multimap<K, V>)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
} } } // utility methods private static Iterable<MapMaker> allWeakKeyStrengthMakers() { return ImmutableList.of(createMapMaker().weakKeys(), createMapMaker().weakKeys().weakValues()); } private static Iterable<MapMaker> allWeakValueStrengthMakers() { return ImmutableList.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
} } } // utility methods private static Iterable<MapMaker> allWeakKeyStrengthMakers() { return ImmutableList.of(createMapMaker().weakKeys(), createMapMaker().weakKeys().weakValues()); } private static Iterable<MapMaker> allWeakValueStrengthMakers() { return ImmutableList.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 35.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
@SuppressWarnings("unchecked") @Override public Entry<Country, Currency>[] createArray(int length) { return (Entry<Country, Currency>[]) new Entry<?, ?>[length]; } @Override public Iterable<Entry<Country, Currency>> order(List<Entry<Country, Currency>> insertionOrder) { return orderEntriesByKey(insertionOrder); } @Override public Country[] createKeyArray(int length) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
* entries in the same order as the original iterable. * * @throws NullPointerException if any key, value, or entry is null * @throws IllegalArgumentException if two entries have the same key * @since 19.0 */ public static <K, V> ImmutableMap<K, V> copyOf( Iterable<? extends Entry<? extends K, ? extends V>> entries) { int initialCapacity =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
protected <E extends Comparable<? super E>> Set<E> copyOf(Collection<? extends E> elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Iterable<? extends E> elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Iterator<? extends E> elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
protected <E extends Comparable<? super E>> Set<E> copyOf(Collection<? extends E> elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Iterable<? extends E> elements) { return ImmutableSet.copyOf(elements); } @Override protected <E extends Comparable<? super E>> Set<E> copyOf(Iterator<? extends E> elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* * <p>A lookup is specifically defined as an invocation of one of the methods {@link * LoadingCache#get(Object)}, {@link LoadingCache#getUnchecked(Object)}, {@link Cache#get(Object, * Callable)}, or {@link LoadingCache#getAll(Iterable)}. * * @author Charles Fry * @since 10.0 */ @GwtCompatible public final class CacheStats { private final long hitCount; private final long missCount; private final long loadSuccessCount;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(PeekingIterator.class, Iterators.peekingIterator(ImmutableSet.of().iterator())) .put(ListIterator.class, ImmutableList.of().listIterator()) .put(Iterable.class, ImmutableSet.of()) .put(Collection.class, ImmutableList.of()) .put(ImmutableCollection.class, ImmutableList.of()) .put(List.class, ImmutableList.of())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 20.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) { for (Entry<E> entry : asList(a, b, c)) { expectAddFailure(multiset, entry); } } private static int totalSize(Iterable<? extends Entry<?>> entries) { int sum = 0; for (Entry<?> entry : entries) { sum += entry.getCount(); } return sum; } private enum SubMultisetSpec { TAIL_CLOSED {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0)