- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 347 for maps (0.02 sec)
-
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
return "26"; } /** Helper assertion comparing two maps */ private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { assertEquals(expected, map); assertEquals(expected.hashCode(), map.hashCode()); assertEquals(expected.entrySet(), map.entrySet()); // Assert that expectedValues > mapValues and that
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(Map.class, ImmutableMap.of()) .put(ImmutableMap.class, ImmutableMap.of()) .put(SortedMap.class, ImmutableSortedMap.of()) .put(ImmutableSortedMap.class, ImmutableSortedMap.of()) .put(NavigableMap.class, Maps.unmodifiableNavigableMap(Maps.newTreeMap())) .put(Multimap.class, ImmutableMultimap.of())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMap.java
} /** * A sensible definition of {@link #putAll(Map)} in terms of {@link #put(Object, Object)}. If you * override {@link #put(Object, Object)}, you may wish to override {@link #putAll(Map)} to forward * to this implementation. * * @since 7.0 */ protected void standardPutAll(Map<? extends K, ? extends V> map) { Maps.putAllImpl(this, map); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
@Override protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> map = new HashMap<>(); putEntries(map, entries); map.putAll(ENTRIES_TO_FILTER); map = Maps.filterEntries(map, FILTER_ENTRIES_1); return Maps.filterEntries(map, FILTER_ENTRIES_2); }Registered: 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/collect/MapsCollectionTest.java
@Override protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> map = new HashMap<>(); putEntries(map, entries); map.putAll(ENTRIES_TO_FILTER); map = Maps.filterEntries(map, FILTER_ENTRIES_1); return Maps.filterEntries(map, FILTER_ENTRIES_2); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
return "26"; } /** Helper assertion comparing two maps */ private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { assertEquals(expected, map); assertEquals(expected.hashCode(), map.hashCode()); assertEquals(expected.entrySet(), map.entrySet()); // Assert that expectedValues > mapValues and that
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Table.java
* * @return a map view from each row key to a secondary map from column keys to values */ Map<R, Map<C, V>> rowMap(); /** * Returns a view that associates each column key with the corresponding map from row keys to * values. Changes to the returned map will update this table. The returned map does not support * {@code put()} or {@code putAll()}, or {@code setValue()} on its entries. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value")); } public void testBuilderWithExpectedKeysPositive() { ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builderWithExpectedKeys(1); builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value")); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
public void testForMapSerialization() { Map<String, Integer> map = new HashMap<>(); map.put("foo", 1); map.put("bar", 2); Multimap<String, Integer> multimapView = Multimaps.forMap(map); SerializableTester.reserializeAndAssert(multimapView); } public void testForMapRemoveAll() { Map<String, Integer> map = new HashMap<>(); map.put("foo", 1); map.put("bar", 2); map.put("cow", 3);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 38.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
} @Override public Map<R, Map<C, V2>> rowMap() { return Maps.transformValues(fromTable.rowMap(), row -> Maps.transformValues(row, function)); } @Override public Map<C, Map<R, V2>> columnMap() { return Maps.transformValues( fromTable.columnMap(), column -> Maps.transformValues(column, function)); } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 24.9K bytes - Viewed (0)