- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for transformEntry (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
EntryTransformer<String, String, String> concat = new EntryTransformer<String, String, String>() { @Override public String transformEntry(String key, String value) { return key + value; } }; Map<String, String> transformed = transformEntries(map, concat);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* null arguments */ @ParametricNullness V2 transformEntry(@ParametricNullness K key, @ParametricNullness V1 value); } /** Returns a view of an entry transformed by the specified transformer. */ static <V2 extends @Nullable Object, K extends @Nullable Object, V1 extends @Nullable Object> Entry<K, V2> transformEntry(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
* null arguments */ @ParametricNullness V2 transformEntry(@ParametricNullness K key, @ParametricNullness V1 value); } /** Returns a view of an entry transformed by the specified transformer. */ static <V2 extends @Nullable Object, K extends @Nullable Object, V1 extends @Nullable Object> Entry<K, V2> transformEntry(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
EntryTransformer<String, Integer, String> transformer = new EntryTransformer<String, Integer, String>() { @Override public String transformEntry(String key, Integer value) { return (value >= 0) ? key : "no" + key; } }; Multimap<String, String> transformed = Multimaps.transformEntries(multimap, transformer);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
this.transformer = checkNotNull(transformer); } Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) { Function<? super V1, V2> function = v1 -> transformer.transformEntry(key, v1); if (values instanceof List) { return Lists.transform((List<V1>) values, function); } else { return Collections2.transform(values, function); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimaps.java
this.transformer = checkNotNull(transformer); } Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) { Function<? super V1, V2> function = v1 -> transformer.transformEntry(key, v1); if (values instanceof List) { return Lists.transform((List<V1>) values, function); } else { return Collections2.transform(values, function); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86.3K bytes - Click Count (0)