- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 167 for ImmutableMap (0.04 sec)
-
guava/src/com/google/common/collect/ImmutableMultimap.java
* multimap. Keys and values appear in the same order as in this multimap. */ @Override @SuppressWarnings("unchecked") // a widening cast public ImmutableMap<K, Collection<V>> asMap() { return (ImmutableMap) map; } @Override Map<K, Collection<V>> createAsMap() { throw new AssertionError("should never be called"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import com.google.common.collect.ImmutableCollection; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableListMultimap; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.ImmutableMultiset; import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSetMultimap;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 17.3K 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); assertEquals(originalCount, originalMap.size()); assertEquals(originalMap, map); for (int i = 1; i <= originalCount * 2; i *= 2) { if (i > 1) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
return new PowerSet<E>(set); } private static final class SubSet<E> extends AbstractSet<E> { private final ImmutableMap<E, Integer> inputSet; private final int mask; SubSet(ImmutableMap<E, Integer> inputSet, int mask) { this.inputSet = inputSet; this.mask = mask; } @Override public Iterator<E> iterator() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
} public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() { return new Builder<K, V>(Ordering.natural().reverse()); } public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> { private final Comparator<? super K> comparator; public Builder(Comparator<? super K> comparator) { this.comparator = checkNotNull(comparator); } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TableCollectionTest.java
} @Override protected String getKeyNotInPopulatedMap() { return "cat"; } @Override protected Map<Integer, Character> getValueNotInPopulatedMap() { return ImmutableMap.of(); } /** * The version of this test supplied by {@link MapInterfaceTest} fails for this particular map * implementation, because {@code map.get()} returns a view collection that changes in the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
* However, the precise conditions for skipping the copy operation are undefined. * <li><b>Warning:</b> a view collection such as {@link ImmutableMap#keySet} or {@link * ImmutableList#subList} may retain a reference to the entire data set, preventing it from * being garbage collected. If some of the data is no longer reachable through other means,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0)