- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 170 for ImmutableMap (0.8 sec)
-
guava/src/com/google/common/collect/FluentIterable.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
import com.google.common.base.Function; import com.google.common.cache.CacheBuilderFactory.DurationSpec; import com.google.common.cache.LocalCache.Strength; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Iterables; import com.google.common.collect.Iterators; import com.google.common.collect.Maps; import com.google.common.testing.EqualsTester;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
@Override public boolean apply(Entry<String, String> entry) { return !mapEntry("eggplant", "spam").equals(entry); } }; static final ImmutableMap<String, String> ENTRIES_TO_FILTER = ImmutableMap.of("banana", "toast", "eggplant", "spam"); static final Predicate<Entry<String, String>> NOT_NULL_ENTRY = new Predicate<Entry<String, String>>() { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
entry.setValueReference(valueRef); } segment.table.set(0, entry); segment.count = originalCount; ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map); assertThat(originalMap).hasSize(originalCount); assertThat(map).isEqualTo(originalMap); for (int i = 1; i <= originalCount * 2; i *= 2) { if (i > 1) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
entry.setValueReference(valueRef); } segment.table.set(0, entry); segment.count = originalCount; ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map); assertThat(originalMap).hasSize(originalCount); assertThat(map).isEqualTo(originalMap); for (int i = 1; i <= originalCount * 2; i *= 2) { if (i > 1) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
.createTestSuite()); suite.addTestSuite(HashBiMapTest.class); return suite; } public void testMapConstructor() { /* Test with non-empty Map. */ Map<String, String> map = ImmutableMap.of( "canada", "dollar", "chile", "peso", "switzerland", "franc"); HashBiMap<String, String> bimap = HashBiMap.create(map); assertEquals("dollar", bimap.get("canada"));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsCollectionTest.java
@Override public boolean apply(Entry<String, String> entry) { return !mapEntry("eggplant", "spam").equals(entry); } }; static final ImmutableMap<String, String> ENTRIES_TO_FILTER = ImmutableMap.of("banana", "toast", "eggplant", "spam"); static final Predicate<Entry<String, String>> NOT_NULL_ENTRY = new Predicate<Entry<String, String>>() { @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
entriesByLowerBound.subMap(range.lowerBound, range.upperBound).entrySet(); // Create entries mapping any unmapped ranges in the merge range to the specified value. ImmutableMap.Builder<Cut<K>, RangeMapEntry<K, V>> gaps = ImmutableMap.builder(); if (value != null) { Iterator<Entry<Cut<K>, RangeMapEntry<K, V>>> backingItr = entriesInMergeRange.iterator(); Cut<K> lowerBound = range.lowerBound;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
return new ConcurrentHashMap<>(map); } }, ImmutableMapImpl { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { return ImmutableMap.copyOf(map); } }, MapMakerStrongKeysStrongValues { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} V getOrLoad(K key) throws ExecutionException { return get(key, defaultLoader); } ImmutableMap<K, V> getAllPresent(Iterable<?> keys) { int hits = 0; int misses = 0; ImmutableMap.Builder<K, V> result = ImmutableMap.builder(); for (Object key : keys) { V value = get(key); if (value == null) { misses++; } else {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 19:35:11 UTC 2025 - 148.9K bytes - Viewed (0)