- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 84 for transformed (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
// objectKeyed = transformEntries(map6, transformer); // objectKeyed = transformEntries(map8, transformer); // objectKeyed = transformEntries(map9, transformer); // numberKeyed = transformEntries(map8, transformer); // numberKeyed = transformEntries(map9, transformer); // Can't loosen the value type: // Map<Number, Number> looseValued1 = transformEntries(map5, transformer);
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/Multimaps.java
final EntryTransformer<? super K, ? super V1, V2> transformer; TransformedEntriesMultimap( Multimap<K, V1> fromMultimap, EntryTransformer<? super K, ? super V1, V2> transformer) { this.fromMultimap = checkNotNull(fromMultimap); this.transformer = checkNotNull(transformer); } Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
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
final EntryTransformer<? super K, ? super V1, V2> transformer; TransformedEntriesMultimap( Multimap<K, V1> fromMultimap, EntryTransformer<? super K, ? super V1, V2> transformer) { this.fromMultimap = checkNotNull(fromMultimap); this.transformer = checkNotNull(transformer); } Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
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) -
android/guava/src/com/google/common/collect/Maps.java
* v2)} implies that {@code Objects.equals(transformer.transform(k1, v1), * transformer.transform(k2, v2))}. * </ul> * * @throws NullPointerException if the key or value is null and this transformer does not accept * null arguments */ @ParametricNullnessCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K 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); assertThat(transformed.entries()) .containsExactly(
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) -
guava/src/com/google/common/collect/Maps.java
* v2)} implies that {@code Objects.equals(transformer.transform(k1, v1), * transformer.transform(k2, v2))}. * </ul> * * @throws NullPointerException if the key or value is null and this transformer does not accept * null arguments */ @ParametricNullnessCreated: 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/util/concurrent/FuturesTest.java
output.cancel(false); throw new SomeUncheckedException(); } } Transformer transformer = new Transformer(); SettableFuture<Object> input = SettableFuture.create(); ListenableFuture<Object> output = transform(input, transformer, directExecutor()); transformer.output = output; input.set("foo"); assertTrue(output.isCancelled()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
output.cancel(false); throw new SomeUncheckedException(); } } Transformer transformer = new Transformer(); SettableFuture<Object> input = SettableFuture.create(); ListenableFuture<Object> output = transform(input, transformer, directExecutor()); transformer.output = output; input.set("foo"); assertTrue(output.isCancelled()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 134K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
// TODO(jlevy): Wrap factory to validate that the supplied maps are empty? return new StandardTable<>(backingMap, factory); } /** * Returns a view of a table where each value is transformed by a function. All other properties * of the table, such as iteration order, are left intact. * * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 24.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
* * <p>If only a {@code Collection} or {@code Iterable} input is available, use {@link * Collections2#transform} or {@link Iterables#transform}. * * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList}, * its contents, and {@code function} -- <i>not</i> by serializing the transformed values. This * can lead to surprising behavior, so serializing the returned list is <b>not recommended</b>.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0)