- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for fromMap (0.08 sec)
-
guava/src/com/google/common/collect/Maps.java
protected SortedMap<K, V1> fromMap() { return (SortedMap<K, V1>) fromMap; } TransformedEntriesSortedMap( SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) { super(fromMap, transformer); } @Override public @Nullable Comparator<? super K> comparator() { return fromMap().comparator(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
protected SortedMap<K, V1> fromMap() { return (SortedMap<K, V1>) fromMap; } TransformedEntriesSortedMap( SortedMap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) { super(fromMap, transformer); } @Override public @Nullable Comparator<? super K> comparator() { return fromMap().comparator(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
K extends @Nullable Object, V1 extends @Nullable Object, V2 extends @Nullable Object> Multimap<K, V2> transformEntries( Multimap<K, V1> fromMap, EntryTransformer<? super K, ? super V1, V2> transformer) { return new TransformedEntriesMultimap<>(fromMap, transformer); } /** * Returns a view of a {@code ListMultimap} whose values are derived from the original multimap's
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 86.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
assertThat(function.apply("Null")).isNull(); new EqualsTester() .addEqualityGroup(function, Functions.forMap(map, 42)) .addEqualityGroup(Functions.forMap(map)) .addEqualityGroup(Functions.forMap(map, null)) .addEqualityGroup(Functions.forMap(map, 43)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
assertThat(function.apply("Null")).isNull(); new EqualsTester() .addEqualityGroup(function, Functions.forMap(map, 42)) .addEqualityGroup(Functions.forMap(map)) .addEqualityGroup(Functions.forMap(map, null)) .addEqualityGroup(Functions.forMap(map, 43)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 16K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
return multimap.build().keySet(); } }) .named("Multimaps.forMap.keySet") .withFeatures(FOR_MAP_FEATURES_ANY) .createTestSuite()); // TODO: use collection testers on Multimaps.forMap.values suite.addTest( MultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Sep 24 22:52:18 UTC 2025 - 28.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
return multimap.build().keySet(); } }) .named("Multimaps.forMap.keySet") .withFeatures(FOR_MAP_FEATURES_ANY) .createTestSuite()); // TODO: use collection testers on Multimaps.forMap.values suite.addTest( MultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Sep 24 22:52:18 UTC 2025 - 28.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
Map<K, V> map) { return new FunctionForMapNoDefault<>(map); } /** * Returns a function which performs a map lookup with a default value. The function created by * this method returns {@code defaultValue} for all inputs that do not belong to the map's key * set. See also {@link #forMap(Map)}, which throws an exception in this case. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
Map<String, Integer> map = new HashMap<>(); return Multimaps.forMap(map).asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Map<String, Integer> map = new HashMap<>(); map.put("foo", 1); map.put("bar", 2); map.put("cow", 3); return Multimaps.forMap(map).asMap(); } @Override public void testEntrySetRemoveAllNullFromEmpty() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
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); Multimap<String, Integer> multimap = Multimaps.forMap(map); assertEquals(3, multimap.size());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 38.9K bytes - Viewed (0)